fix(azure_rm_containerregistry): Fixed sku idempostency (#61009)

This commit is contained in:
Marian Gappa 2019-09-10 10:35:05 +02:00 committed by Yunge Zhu
parent 064e8e1ef4
commit dfc023209f

View file

@ -274,7 +274,7 @@ class AzureRMContainerRegistry(AzureRMModuleBase):
to_do = Actions.NoAction to_do = Actions.NoAction
if (self.location is not None) and self.location != response['location']: if (self.location is not None) and self.location != response['location']:
to_do = Actions.Update to_do = Actions.Update
elif (self.sku is not None) and self.location != response['sku']: elif (self.sku is not None) and self.sku != response['sku']:
to_do = Actions.Update to_do = Actions.Update
else: else:
to_do = Actions.NoAction to_do = Actions.NoAction