Call SetVolumeOwnership from volume plugins

This commit is contained in:
Sami Wagiaalla
2015-12-18 13:57:25 -05:00
parent 125295ba40
commit 4ac151321a
12 changed files with 43 additions and 6 deletions

View File

@@ -209,7 +209,7 @@ func (b *rbdBuilder) SetUp(fsGroup *int64) error {
func (b *rbdBuilder) SetUpAt(dir string, fsGroup *int64) error {
// diskSetUp checks mountpoints and prevent repeated calls
err := diskSetUp(b.manager, *b, dir, b.mounter)
err := diskSetUp(b.manager, *b, dir, b.mounter, fsGroup)
if err != nil {
glog.Errorf("rbd: failed to setup")
}