mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
Add fsGroup to SetUp and SetUpAt
This commit is contained in:
@@ -183,11 +183,11 @@ func (_ *FakeVolume) GetAttributes() Attributes {
|
||||
}
|
||||
}
|
||||
|
||||
func (fv *FakeVolume) SetUp() error {
|
||||
return fv.SetUpAt(fv.GetPath())
|
||||
func (fv *FakeVolume) SetUp(fsGroup *int64) error {
|
||||
return fv.SetUpAt(fv.GetPath(), fsGroup)
|
||||
}
|
||||
|
||||
func (fv *FakeVolume) SetUpAt(dir string) error {
|
||||
func (fv *FakeVolume) SetUpAt(dir string, fsGroup *int64) error {
|
||||
return os.MkdirAll(dir, 0750)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user