Skip to content

Commit

Permalink
Merge pull request #8057 from ioito/automated-cherry-pick-of-#8056-up…
Browse files Browse the repository at this point in the history
…stream-release-3.4

Automated cherry pick of #8056: fix: 仅在可用区故障时可强制挂载磁盘
  • Loading branch information
zexi committed Sep 24, 2020
2 parents 54ee77d + 4038bfb commit 7e362ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/multicloud/google/instance.go
Expand Up @@ -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))
}

Expand Down

0 comments on commit 7e362ca

Please sign in to comment.