Skip to content

Commit 5b794c0

Browse files
committed
[style] - Updated code styling.
1 parent d51d25f commit 5b794c0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4108,6 +4108,7 @@ def get_vmss_modified_by_aaz(cmd, resource_group_name, name, instance_id=None, s
41084108
vmss["virtualMachineProfile"]["storageProfile"]["imageReference"] = None
41094109
return vmss
41104110

4111+
41114112
def get_instances_list(cmd, resource_group_name, vm_scale_set_name, resiliency_view=False):
41124113
from .operations.vmss import VMSSListInstances
41134114
instances = VMSSListInstances(cli_ctx=cmd.cli_ctx)(command_args={
@@ -4127,6 +4128,7 @@ def get_instances_list(cmd, resource_group_name, vm_scale_set_name, resiliency_v
41274128
'vm_scale_set_name': vm_scale_set_name,
41284129
}) for id in instances_id]
41294130

4131+
41304132
def get_vmss_instance_view(cmd, resource_group_name, vm_scale_set_name, instance_id=None):
41314133
client = _compute_client_factory(cmd.cli_ctx)
41324134
if instance_id:

src/azure-cli/azure/cli/command_modules/vm/operations/vmss_vms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pylint: disable=no-self-use, line-too-long, protected-access, too-few-public-methods, unused-argument, too-many-statements, too-many-branches, too-many-locals
66
from knack.log import get_logger
77

8-
from azure.cli.core.aaz import AAZUndefined, has_value
8+
from azure.cli.core.aaz import AAZUndefined, has_value, register_command
99
from ..aaz.latest.vmss.vms import Create as _VMSSVMSCreate, Show as _VMSSVMSShow
1010

1111
logger = get_logger(__name__)
@@ -66,7 +66,6 @@ def _output(self, *args, **kwargs):
6666
return result
6767

6868

69-
from azure.cli.core.aaz import register_command
7069
@register_command(
7170
"vmss get-resiliency-view",
7271
)
@@ -87,6 +86,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
8786
def pre_operations(self):
8887
self.ctx.args.expand = 'resiliencyView'
8988

89+
9090
def convert_show_result_to_snake_case(result):
9191
new_result = {}
9292
if "instanceId" in result:

0 commit comments

Comments
 (0)