Skip to content

Commit 882071d

Browse files
committed
fix(containerregistry): updated acr_update_set in connected_registry for status polling
1 parent 4048e12 commit 882071d

File tree

2 files changed

+161
-161
lines changed

2 files changed

+161
-161
lines changed

src/azure-cli/azure/cli/command_modules/acr/connected_registry.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ def acr_connected_registry_create(cmd, # pylint: disable=too-many-locals, too-m
7878
registry_name), yes)
7979
acr_update_custom(cmd, registry, data_endpoint_enabled=True)
8080
registry_client = cf_acr_registries(cmd.cli_ctx)
81-
acr_update_set(cmd, registry_client, registry_name, resource_group_name, registry)
81+
LongRunningOperation(cmd.cli_ctx)(
82+
acr_update_set(cmd, registry_client, registry_name, resource_group_name, registry)
83+
)
8284

8385
from azure.core.exceptions import HttpResponseError as ErrorResponseException
8486
parent = None

0 commit comments

Comments
 (0)