mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-31 01:35:56 +08:00
Merge pull request #2944 from ioito/hotfix/qx-zstck-stop-instance
fix: 避免zstack高可用关机失效问题
This commit is contained in:
@@ -294,7 +294,8 @@ func (region *SRegion) StopVM(instanceId string, isForce bool) error {
|
||||
}
|
||||
params := map[string]interface{}{
|
||||
"stopVmInstance": map[string]string{
|
||||
"type": option,
|
||||
"type": option,
|
||||
"stopHA": "true",
|
||||
},
|
||||
}
|
||||
_, err := region.client.put("vm-instances", instanceId, jsonutils.Marshal(params))
|
||||
|
||||
Reference in New Issue
Block a user