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

@@ -186,12 +186,12 @@ func (b *hostPathBuilder) GetAttributes() volume.Attributes {
}
// SetUp does nothing.
func (b *hostPathBuilder) SetUp() error {
func (b *hostPathBuilder) SetUp(fsGroup *int64) error {
return nil
}
// SetUpAt does not make sense for host paths - probably programmer error.
func (b *hostPathBuilder) SetUpAt(dir string) error {
func (b *hostPathBuilder) SetUpAt(dir string, fsGroup *int64) error {
return fmt.Errorf("SetUpAt() does not make sense for host paths")
}