AWS: Switch arguments to AttachDisk/DetachDisk to match GCE

This commit is contained in:
Justin Santa Barbara
2016-02-03 18:21:28 +00:00
parent d10e3debc7
commit f61a5d0400
3 changed files with 7 additions and 7 deletions

View File

@@ -391,7 +391,7 @@ func detachPD(hostName, pdName string) error {
if !ok {
return fmt.Errorf("Provider does not support volumes")
}
_, err := volumes.DetachDisk(hostName, pdName)
_, err := volumes.DetachDisk(pdName, hostName)
return err
}
}