Skip to content

Commit

Permalink
Update to single quotes for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bfoley13 committed Mar 1, 2024
1 parent 93f434c commit 20af41e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions src/azure-cli/azure/cli/command_modules/acs/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,24 +719,24 @@ def load_arguments(self, _):
with self.argument_context('aks mesh upgrade start') as c:
c.argument('revision', validator=validate_azure_service_mesh_revision, required=True)

with self.argument_context("aks approuting enable") as c:
c.argument("enable_kv", action="store_true")
c.argument("keyvault_id", options_list=["--attach-kv"])
with self.argument_context('aks approuting enable') as c:
c.argument('enable_kv', action='store_true')
c.argument('keyvault_id', options_list=['--attach-kv'])

with self.argument_context("aks approuting update") as c:
c.argument("keyvault_id", options_list=["--attach-kv"])
c.argument("enable_kv", action="store_true")
with self.argument_context('aks approuting update') as c:
c.argument('keyvault_id', options_list=['--attach-kv'])
c.argument('enable_kv', action='store_true')

with self.argument_context("aks approuting zone add") as c:
c.argument("dns_zone_resource_ids", options_list=["--ids"], required=True)
c.argument("attach_zones")
with self.argument_context('aks approuting zone add') as c:
c.argument('dns_zone_resource_ids', options_list=['--ids'], required=True)
c.argument('attach_zones')

with self.argument_context("aks approuting zone delete") as c:
c.argument("dns_zone_resource_ids", options_list=["--ids"], required=True)
with self.argument_context('aks approuting zone delete') as c:
c.argument('dns_zone_resource_ids', options_list=['--ids'], required=True)

with self.argument_context("aks approuting zone update") as c:
c.argument("dns_zone_resource_ids", options_list=["--ids"], required=True)
c.argument("attach_zones")
with self.argument_context('aks approuting zone update') as c:
c.argument('dns_zone_resource_ids', options_list=['--ids'], required=True)
c.argument('attach_zones')


def _get_default_install_location(exe_name):
Expand Down
18 changes: 9 additions & 9 deletions src/azure-cli/azure/cli/command_modules/acs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,17 +237,17 @@ def load_command_table(self, _):

# AKS approuting commands
with self.command_group(
"aks approuting", managed_clusters_sdk, client_factory=cf_managed_clusters
'aks approuting', managed_clusters_sdk, client_factory=cf_managed_clusters
) as g:
g.custom_command("enable", "aks_approuting_enable")
g.custom_command("disable", "aks_approuting_disable", confirmation=True)
g.custom_command("update", "aks_approuting_update")
g.custom_command('enable', 'aks_approuting_enable')
g.custom_command('disable', 'aks_approuting_disable', confirmation=True)
g.custom_command('update', 'aks_approuting_update')

# AKS approuting dns-zone commands
with self.command_group(
"aks approuting zone", managed_clusters_sdk, client_factory=cf_managed_clusters
'aks approuting zone', managed_clusters_sdk, client_factory=cf_managed_clusters
) as g:
g.custom_command("add", "aks_approuting_zone_add")
g.custom_command("delete", "aks_approuting_zone_delete", confirmation=True)
g.custom_command("update", "aks_approuting_zone_update")
g.custom_command("list", "aks_approuting_zone_list")
g.custom_command('add', 'aks_approuting_zone_add')
g.custom_command('delete', 'aks_approuting_zone_delete', confirmation=True)
g.custom_command('update', 'aks_approuting_zone_update')
g.custom_command('list', 'aks_approuting_zone_list')

0 comments on commit 20af41e

Please sign in to comment.