fix: 仅在可用区故障时可强制挂载磁盘

This commit is contained in:
ioito
2020-09-24 15:31:54 +08:00
parent 9a7eae6e03
commit 0a4bd281de
+1 -1
View File
@@ -783,7 +783,7 @@ func (region *SRegion) AttachDisk(instanceId, diskId string, boot bool) error {
if boot {
body["autoDelete"] = true
}
params := map[string]string{"forceAttach": "true"}
params := map[string]string{}
return region.Do(instanceId, "attachDisk", params, jsonutils.Marshal(body))
}