Set ownership to fsGroup in gitrepo

This commit is contained in:
Sami Wagiaalla 2016-03-15 12:20:48 -04:00
parent 73017b6de9
commit 33a416e98f

View File

@ -188,6 +188,8 @@ func (b *gitRepoVolumeBuilder) SetUpAt(dir string, fsGroup *int64) error {
return fmt.Errorf("failed to exec 'git reset --hard': %s: %v", output, err)
}
volume.SetVolumeOwnership(b, fsGroup)
volumeutil.SetReady(b.getMetaDir())
return nil
}