Merge "Fix incorrect state transition for subcloud restore"
This commit is contained in:
commit
8c199722a7
|
@ -1152,7 +1152,7 @@ class SubcloudManager(manager.Manager):
|
||||||
LOG.error(msg)
|
LOG.error(msg)
|
||||||
db_api.subcloud_update(
|
db_api.subcloud_update(
|
||||||
context, subcloud.id,
|
context, subcloud.id,
|
||||||
deploy_status=consts.DEPLOY_STATE_RESTORE_PREP_FAILED
|
deploy_status=consts.DEPLOY_STATE_RESTORE_FAILED
|
||||||
)
|
)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue