Skip to content

Commit f4ee2e1

Browse files
committed
update
1 parent e1b6e6f commit f4ee2e1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13119,7 +13119,6 @@ def test_aks_update_run_command(self, resource_group, resource_group_location):
1311913119
"aks update --resource-group {resource_group} --name {name} "
1312013120
"--enable-run-command"
1312113121
)
13122-
self.cmd(update_cmd, checks=[
13123-
self.check('provisioningState', 'Succeeded'),
13124-
self.check('apiServerAccessProfile.disableRunCommand', False),
13125-
])
13122+
mc = self.cmd(update_cmd).get_output_in_json()
13123+
if mc['apiServerAccessProfile'] is not None:
13124+
assert mc['apiServerAccessProfile']['disableRunCommand'] == False

0 commit comments

Comments
 (0)