Skip to content

Commit 467b41a

Browse files
committed
Remove unused import
1 parent 5c94035 commit 467b41a

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ def cf_disk_accesses(cli_ctx, _):
6363
return _compute_client_factory(cli_ctx).disk_accesses
6464

6565

66-
def cf_images(cli_ctx, _):
67-
return _compute_client_factory(cli_ctx).images
68-
69-
7066
def cf_rolling_upgrade_commands(cli_ctx, _):
7167
return _compute_client_factory(cli_ctx).virtual_machine_scale_set_rolling_upgrades
7268

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from azure.cli.command_modules.vm._client_factory import (cf_vm,
77
cf_vm_ext, cf_vm_ext_image,
88
cf_vm_image, cf_vm_image_term, cf_usage,
9-
cf_vmss, cf_images,
9+
cf_vmss,
1010
cf_galleries, cf_gallery_images, cf_gallery_image_versions,
1111
cf_proximity_placement_groups,
1212
cf_dedicated_hosts, cf_dedicated_host_groups,
@@ -62,11 +62,6 @@ def load_command_table(self, _):
6262
operation_group='availability_sets'
6363
)
6464

65-
compute_image_sdk = CliCommandType(
66-
operations_tmpl='azure.mgmt.compute.operations#ImagesOperations.{}',
67-
client_factory=cf_images
68-
)
69-
7065
compute_vm_sdk = CliCommandType(
7166
operations_tmpl='azure.mgmt.compute.operations#VirtualMachinesOperations.{}',
7267
client_factory=cf_vm

0 commit comments

Comments
 (0)