Skip to content

Commit

Permalink
fix registry model mdc wrong resource group bug (Azure#39022)
Browse files Browse the repository at this point in the history
  • Loading branch information
PratibhaShrivastav18 authored Jan 6, 2025
1 parent eb751a5 commit d158c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/ml/azure-ai-ml/azure/ai/ml/_ml_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def __init__(
self._operation_container.add(AzureMLResourceType.ONLINE_DEPLOYMENT, self._online_deployments)
self._operation_container.add(AzureMLResourceType.BATCH_DEPLOYMENT, self._batch_deployments)
self._data = DataOperations(
self._operation_scope,
self._ws_operation_scope if registry_reference else self._operation_scope,
self._operation_config,
(self._service_client_10_2021_dataplanepreview if registry_name else self._service_client_04_2023_preview),
self._service_client_01_2024_preview,
Expand Down

0 comments on commit d158c12

Please sign in to comment.