Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output for webapps with Linux OS #30673

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading