Merge pull request #25502 from swagiaal/attach-interface-pvc

Automatic merge from submit-queue

Add support for PersistentVolumeClaim in Attacher/Detacher interface

The attach detach interface does not support volumes which are referenced through PVCs. This PR adds that support
This commit is contained in:
k8s-merge-robot
2016-05-21 06:25:34 -07:00
9 changed files with 235 additions and 508 deletions

View File

@@ -273,7 +273,7 @@ func (fv *FakeVolume) WaitForAttach(spec *Spec, spectimeout time.Duration) (stri
return "", nil
}
func (fv *FakeVolume) GetDeviceMountPath(host VolumeHost, spec *Spec) string {
func (fv *FakeVolume) GetDeviceMountPath(spec *Spec) string {
fv.GetDeviceMountPathCallCount++
return ""
}