Merge pull request #25325 from swagiaal/attacher-interface-update

Update Attacher/Detacher interfaces.
This commit is contained in:
Saad Ali
2016-05-11 11:36:19 -07:00
6 changed files with 20 additions and 26 deletions

View File

@@ -559,9 +559,6 @@ func TestCleanupOrphanedVolumes(t *testing.T) {
if detacher.DetachCallCount != 1 {
t.Errorf("Expected Detach to be called")
}
if detacher.WaitForDetachCallCount != 1 {
t.Errorf("Expected WaitForDetach to be called")
}
if detacher.UnmountDeviceCallCount != 1 {
t.Errorf("Expected UnmountDevice to be called")
}