Skip to content

Commit 317b276

Browse files
committed
azdev style fixes
1 parent b4d3ee1 commit 317b276

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/dataprotection/azext_dataprotection/manual/_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ def load_arguments(self, _):
134134
c.argument('vaulted_blob_container_list', type=validate_file_or_dict, options_list=['--vaulted-blob-container-list', '--container-blob-list'],
135135
help="Enter the container list to modify a vaulted blob backup. The output for "
136136
"'az dataprotection backup-instance initialize-backupconfig' needs to be provided as input")
137-
c.argument('backup_configuration', type=validate_file_or_dict,
138-
help="Enter the backup configuration to modify AKS backup datasource parameters. "
139-
"The output for 'az dataprotection backup-instance initialize-backupconfig' needs to be provided as input.")
137+
c.argument('backup_configuration', type=validate_file_or_dict,
138+
help="Enter the backup configuration to modify AKS backup datasource parameters. "
139+
"The output for 'az dataprotection backup-instance initialize-backupconfig' needs to be provided as input.")
140140
c.argument('use_system_assigned_identity', options_list=['--system-assigned', '--use-system-identity', '--use-system-assigned-identity'], arg_type=get_three_state_flag(), help="Use system assigned identity")
141141
c.argument('user_assigned_identity_arm_url', options_list=['--user-assigned', '--user-assigned-identity-arm-url', '--uami'], type=str, help="ARM ID of the User Assigned Managed Identity")
142142

src/dataprotection/azext_dataprotection/manual/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,8 +1002,8 @@ def convert_backup_instance_show_to_input(backup_instance):
10021002
if datasource_property in backup_instance['properties']:
10031003
datasource_info = backup_instance['properties'][datasource_property]
10041004
if (isinstance(datasource_info, dict) and
1005-
'resourceProperties' in datasource_info and
1006-
isinstance(datasource_info['resourceProperties'], dict)):
1005+
'resourceProperties' in datasource_info and
1006+
isinstance(datasource_info['resourceProperties'], dict)):
10071007
if datasource_info['resourceProperties'].get('objectType') is None:
10081008
# Cleaning up resourceProperties when objectType is null to avoid schema validation error
10091009
del backup_instance['properties'][datasource_property]['resourceProperties']

0 commit comments

Comments
 (0)