File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/confcom/azext_confcom Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,8 @@ def load_policy_from_arm_template_str(
679679
680680 tags = case_insensitive_dict_get (resource , config .ACI_FIELD_TEMPLATE_TAGS )
681681 if tags :
682- exclude_default_fragments_this_group = case_insensitive_dict_get (tags , config .ACI_FIELD_TEMPLATE_ZERO_SIDECAR )
682+ exclude_default_fragments_this_group = \
683+ case_insensitive_dict_get (tags , config .ACI_FIELD_TEMPLATE_ZERO_SIDECAR )
683684 if isinstance (exclude_default_fragments_this_group , str ):
684685 exclude_default_fragments_this_group = exclude_default_fragments_this_group .lower () == "true"
685686
@@ -725,7 +726,10 @@ def load_policy_from_arm_template_str(
725726 # In non-diff mode, we ignore the error and proceed without the policy
726727 existing_containers , fragments = ([], [])
727728
728- rego_fragments = copy .deepcopy (config .DEFAULT_REGO_FRAGMENTS ) if not exclude_default_fragments_this_group else []
729+ rego_fragments = (
730+ copy .deepcopy (config .DEFAULT_REGO_FRAGMENTS )
731+ if not exclude_default_fragments_this_group else []
732+ )
729733 if infrastructure_svn :
730734 # assumes the first DEFAULT_REGO_FRAGMENT is always the
731735 # infrastructure fragment
You can’t perform that action at this time.
0 commit comments