mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #8056 from ioito/hotfix/qx-google-attach-disk
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