Skip to content

Commit f392582

Browse files
committed
fix
1 parent b611b54 commit f392582

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/aks-preview/azext_aks_preview/custom.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4366,13 +4366,15 @@ def aks_bastion(cmd, client, resource_group_name, name, bastion=None, port=None,
43664366
port = aks_bastion_get_local_port(port)
43674367
aks_get_credentials(cmd, client, resource_group_name, name, admin=admin, path=kubeconfig_path)
43684368
aks_bastion_set_kubeconfig(kubeconfig_path, port)
4369-
aks_bastion_runner(
4369+
asyncio.run(
4370+
aks_bastion_runner(
43704371
nrg,
43714372
bastion,
43724373
port,
43734374
mc_id,
43744375
kubeconfig_path,
43754376
test_hook=os.getenv("AKS_BASTION_TEST_HOOK"),
43764377
)
4378+
)
43774379
finally:
43784380
aks_batsion_clean_up()

0 commit comments

Comments
 (0)