Skip to content

Commit

Permalink
style: line indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-lloyd committed Jul 1, 2024
1 parent d816902 commit 5a2cc5a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2973,9 +2973,11 @@ def set_up_network_profile(self, mc: ManagedCluster) -> ManagedCluster:
# on the k8s version being used. The CLI should not be responsible
# for setting default values and should pass properties as empty
# unless specified by the user.
if (network_profile.network_plugin is not None and
if (
network_profile.network_plugin is not None and
self.context.raw_param.get("network_plugin") is None and
self.context.decorator_mode == DecoratorMode.CREATE):
self.context.decorator_mode == DecoratorMode.CREATE
):
self.mc.network_profile.network_plugin = ""

# set up pod_cidrs, service_cidrs and ip_families
Expand Down

0 comments on commit 5a2cc5a

Please sign in to comment.