mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 12:17:52 +00:00
AWS: Switch arguments to AttachDisk/DetachDisk to match GCE
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user