try pushing updates to scaleset configs frequently until the push succeeds (#489)

This commit is contained in:
bmc-msft
2021-02-01 10:09:40 -05:00
committed by GitHub
parent e894a523ab
commit 0f70ffa3e2
5 changed files with 17 additions and 8 deletions

View File

@ -133,7 +133,7 @@ def check_can_update(name: UUID) -> Any:
if vmss is None:
raise UnableToUpdate
if vmss.provisioning_state != "Succeeded":
if vmss.provisioning_state == "Updating":
raise UnableToUpdate
return vmss