Modify Detach method to take disk name

This commit is contained in:
saadali
2016-05-11 22:40:26 -07:00
parent b1560f36c3
commit bce708c22f
2 changed files with 4 additions and 4 deletions

View File

@@ -152,9 +152,8 @@ type Attacher interface {
// Detacher can detach a volume from a node.
type Detacher interface {
// Detach the given volume from the given host.
Detach(deviceMountPath string, hostName string) error
// Detach the given device from the given host.
Detach(deviceName, hostName string) error
// WaitForDetach blocks until the device is detached from this
// node. If the device does not detach within the given timeout