mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): Add support for suspend when syncing status of guest (#4474)
This commit is contained in:
@@ -1054,6 +1054,8 @@ func GetCloudVMStatus(vm cloudprovider.ICloudVM) string {
|
||||
status = cloudprovider.CloudVMStatusChangeFlavor
|
||||
case api.VM_DEPLOYING:
|
||||
status = cloudprovider.CloudVMStatusDeploying
|
||||
case api.VM_SUSPEND:
|
||||
status = cloudprovider.CloudVMStatusSuspend
|
||||
default:
|
||||
status = cloudprovider.CloudVMStatusOther
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user