-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.mgmtThis issue is related to a management-plane library.This issue is related to a management-plane library.
Description
During migration to lightweight compute package, CLI team finds that they can't call api-version configured. The root cause is that: https://github.com/Azure/azure-sdk-for-python/blob/c2d57bd53ac8ba6a3e0e04f1bf0967e40211f30a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/operations/_operations.py#L4275
we shall change
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-11-01"))
to:
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version))
Metadata
Metadata
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.mgmtThis issue is related to a management-plane library.This issue is related to a management-plane library.