Skip to content

Commit 49f4888

Browse files
author
Mohamed Yilmaz Ibrahim
committed
Fixed style issue
1 parent ea87d1a commit 49f4888

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/azure-cli/azure/cli/command_modules/identity/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def load_command_table(self, _):
1919
client_factory=_msi_operations_operations
2020
)
2121
with self.command_group('identity', identity_sdk, client_factory=_msi_user_identities_operations) as g:
22-
#g.custom_command('create', 'create_identity', validator=process_msi_namespace)
23-
#g.generic_update_command('update', setter_name="update", custom_func_name='update_identity')
22+
# g.custom_command('create', 'create_identity', validator=process_msi_namespace)
23+
# g.generic_update_command('update', setter_name="update", custom_func_name='update_identity')
2424
g.show_command('show', 'get')
2525
g.command('delete', 'delete')
2626
g.custom_command('list', 'list_user_assigned_identities')

src/azure-cli/azure/cli/command_modules/identity/custom.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ def update_identity(instance, tags=None, isolation_scope=None, resource_restrict
2929
parameters = {}
3030
if tags is not None:
3131
parameters['tags'] = tags
32-
3332
parameters['isolationScope'] = isolation_scope or instance.isolation_scope
34-
3533
if resource_restriction is not None:
3634
parameters['resourceRestriction'] = resource_restriction or instance.resource_restriction
3735
return parameters
3836

37+
3938
def list_identity_resources(cmd, resource_group_name, resource_name):
4039
from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client
4140
client = _msi_list_resources_client(cmd.cli_ctx)

0 commit comments

Comments
 (0)