Skip to content

Commit 8320ffe

Browse files
fix wrong rg (#42324)
1 parent 1742cee commit 8320ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/_ml_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ def __init__(
625625
self._local_endpoint_helper = _LocalEndpointHelper(requests_pipeline=self._requests_pipeline)
626626
self._local_deployment_helper = _LocalDeploymentHelper(self._operation_container)
627627
self._online_endpoints = OnlineEndpointOperations(
628-
self._operation_scope,
628+
self._ws_operation_scope if registry_reference else self._operation_scope,
629629
self._operation_config,
630630
self._service_client_02_2022_preview,
631631
self._operation_container,

0 commit comments

Comments
 (0)