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
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ def aks_addon_update(cmd, client, resource_group_name, name, addon, workspace_re
if (instance.ingress_profile is None) or (instance.ingress_profile.web_app_routing is None) or not instance.ingress_profile.web_app_routing.enabled:
raise InvalidArgumentValueError(f'Addon "{addon}" is not enabled in this cluster.')

if addon == "monitoring" and enable_msi_auth_for_monitoring is None:
elif addon == "monitoring" and enable_msi_auth_for_monitoring is None:
enable_msi_auth_for_monitoring = True

else:
Expand Down