Skip to content
Closed
Changes from all commits
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 @@ -2768,8 +2768,9 @@ def get_container_network_logs(self, mc: ManagedCluster) -> Union[bool, None]:

if enable_cnl and (not acns_enabled or not monitoring_enabled or not cilium_enabled):
raise InvalidArgumentValueError(
"Container network logs requires ACNS to be enabled, the monitoring addon to be enabled, "
"and the cilium network dataplane."
"Container network logs require Advanced Container Networking Services to be enabled. "
"Activate this service through the portal or use the CLI with --enable-acns flag. "
Comment on lines +2771 to +2772
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new error message introduces the term "Advanced Container Networking Services" for ACNS, but the rest of this command module’s help/params text expands ACNS as "Azure Container Networking Solution (ACNS)". To avoid user confusion, please align this message’s terminology with the existing ACNS naming (or update the other user-facing strings consistently in the same PR). Also consider saying "Azure portal" (consistent with other help strings) instead of the generic "portal".

Suggested change
"Container network logs require Advanced Container Networking Services to be enabled. "
"Activate this service through the portal or use the CLI with --enable-acns flag. "
"Container network logs require Azure Container Networking Solution (ACNS) to be enabled. "
"Activate this service through the Azure portal or use the CLI with --enable-acns flag. "

Copilot uses AI. Check for mistakes.
"Additionally, the monitoring addon must be enabled and the cilium network dataplane is required."
)
enable_cnl = bool(enable_cnl) if enable_cnl is not None else False
disable_cnl = bool(disable_cnl) if disable_cnl is not None else False
Expand Down
Loading