Skip to content

Commit

Permalink
[AppService] az webapp list-runtimes: Remove the JBoss '_byol' entr…
Browse files Browse the repository at this point in the history
…ies from the output for webapps with Linux OS (#30673)
  • Loading branch information
dfuenzalida authored Jan 24, 2025
1 parent 61b92ee commit 5d5f833
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 5d5f833

Please sign in to comment.