reflector nfs volume to seperate builder and cleaner

This commit is contained in:
jiangyaoguo
2015-07-20 14:00:07 +08:00
parent 8cbe9c997a
commit 612f68f820
2 changed files with 126 additions and 117 deletions

View File

@@ -141,7 +141,7 @@ func doTestPlugin(t *testing.T, spec *volume.Spec) {
t.Errorf("SetUp() failed: %v", err)
}
}
if builder.(*nfs).readOnly {
if builder.(*nfsBuilder).readOnly {
t.Errorf("The volume source should not be read-only and it is.")
}
if len(fake.Log) != 1 {