mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Modify Detach method to take disk name
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user