Add fsGroup to SetUp and SetUpAt

This commit is contained in:
Sami Wagiaalla
2015-12-18 10:55:11 -05:00
parent e33e4ae055
commit f650648aae
36 changed files with 99 additions and 94 deletions

View File

@@ -134,7 +134,7 @@ func doTestPlugin(t *testing.T, spec *volume.Spec) {
if path != "/tmp/fake/pods/poduid/volumes/kubernetes.io~nfs/vol1" {
t.Errorf("Got unexpected path: %s", path)
}
if err := builder.SetUp(); err != nil {
if err := builder.SetUp(nil); err != nil {
t.Errorf("Expected success, got: %v", err)
}
if _, err := os.Stat(volumePath); err != nil {