Skip to content

Commit

Permalink
Fixed indentation (Azure#2406)
Browse files Browse the repository at this point in the history
Co-authored-by: Kaiqi Zhang <[email protected]>
  • Loading branch information
kaiqzhan and Kaiqi Zhang authored Sep 23, 2020
1 parent 1b2eafa commit 143e0ca
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -603,7 +603,7 @@ def aks_browse(cmd, # pylint: disable=too-many-statements
addon_profiles = instance.addon_profiles or {}
# addon name is case insensitive
addon_profile = next((addon_profiles[k] for k in addon_profiles
if k.lower() == CONST_KUBE_DASHBOARD_ADDON_NAME.lower()),
if k.lower() == CONST_KUBE_DASHBOARD_ADDON_NAME.lower()),
ManagedClusterAddonProfile(enabled=True))
if not addon_profile.enabled:
raise CLIError('The kube-dashboard addon was disabled for this managed cluster.\n'
Expand Down

0 comments on commit 143e0ca

Please sign in to comment.