mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Add fsGroup to SetUp and SetUpAt
This commit is contained in:
		@@ -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")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user