Commit 21e5ce8
Update src/aks-preview/azext_aks_preview/managed_cluster_decorator.py
Address Copilot feedback: improve monitoring enablement detection
- Use normalized addon list via _get_enable_addons() when available
- Handle both string and list formats for enable_addons parameter
- Also check --enable-azure-monitor-logs flag as alternative way to enable monitoring
- Use CONST_MONITORING_ADDON_NAME_CAMELCASE for proper constant matching
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 4670ade commit 21e5ce8
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
953 | 956 | | |
954 | 957 | | |
955 | 958 | | |
| |||
0 commit comments