mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-22 06:40:54 +08:00
fix: 仅在可用区故障时可强制挂载磁盘
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user