You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With latest az cli 2.70 release we unfortunately introduced a
regression. Creating a cache rule without a credential set would crash.
It is caused by a local variable not declared in the correct scope.
A bug issue has been created to track this issue:
Azure/acr#822
This commit fixed the issue. Now creating cache rules work as expected.
…uld fail (#30984)
With latest az cli 2.70 release we unfortunately introduced a
regression. Creating a cache rule without a credential set would crash.
It is caused by a local variable not declared in the correct scope.
A bug issue has been created to track this issue:
Azure/acr#822
This commit fixed the issue. Now creating cache rules work as expected.
Describe the bug
When creating a cache rule that doesn't require a credential set we get the following error:
UnboundLocalError: cannot access local variable 'rg' where it is not associated with a value.
This repros only on the newest Azure CLI version 2.70.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Cache rule should be created with no error
Screenshots
Any relevant environment information
Additional context
Add any other context about the problem here.
If any information is a concern to post here, you can create a support ticket or send an email to acrsup@microsoft.com.
The text was updated successfully, but these errors were encountered: