Skip to content

Commit 1e9141b

Browse files
committed
Removed redundant import
1 parent 5f86537 commit 1e9141b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/azure-cli/azure/cli/command_modules/vm

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,7 +2550,7 @@ def _remove_identities(cmd, resource_group_name, name, identities, getter, sette
25502550

25512551

25522552
def _remove_identities_by_aaz(cmd, resource_group_name, name, identities, getter, setter):
2553-
from ._vm_utils import MSI_LOCAL_ID, IdentityType
2553+
from ._vm_utils import MSI_LOCAL_ID
25542554

25552555
remove_system_assigned_identity = False
25562556

@@ -2603,7 +2603,6 @@ def setter(resource_group_name, vm_name, vm):
26032603
'vm_name': vm_name
26042604
}
26052605

2606-
from ._vm_utils import IdentityType
26072606
if vm.get('identity') and vm.get('identity').get('type') == IdentityType.USER_ASSIGNED.value:
26082607
# NOTE: The literal 'UserAssigned' is intentionally appended as a marker for
26092608
# VMIdentityRemove._format_content, which uses it to apply special handling

0 commit comments

Comments
 (0)