Skip to content

Commit

Permalink
Remove the JBoss'_byol' entries from the output
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuenzalida authored Jan 18, 2025
1 parent f0b5572 commit 4d91f53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/azure-cli/azure/cli/command_modules/appservice/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -4133,6 +4133,8 @@ def _parse_major_version_linux(self, major_version, parsed_results):
(linux_container_settings.additional_properties.get("java17Runtime"), "17", linux_container_settings.is_auto_update), # pylint: disable=line-too-long
(linux_container_settings.java11_runtime, "11", linux_container_settings.is_auto_update),
(linux_container_settings.java8_runtime, "8", linux_container_settings.is_auto_update)]
# Remove the JBoss'_byol' entries from the output
runtimes = [(r, v, au) for (r, v, au) in runtimes if r is not None and not(r.endswith("_byol"))] # pylint: disable=line-too-long
for runtime_name, version, auto_update in [(r, v, au) for (r, v, au) in runtimes if r is not None]:
runtime = self.Runtime(display_name=runtime_name,
configs={"linux_fx_version": runtime_name},
Expand Down

0 comments on commit 4d91f53

Please sign in to comment.