Skip to content

Commit

Permalink
Better messaging for missing volume components on host to perform mount
Browse files Browse the repository at this point in the history
  • Loading branch information
rkouj committed Nov 9, 2016
1 parent 3f05350 commit 63fc86a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/volume/cinder/cinder.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,13 @@ func (b *cinderVolumeMounter) GetAttributes() volume.Attributes {
}
}

// Checks prior to mount operations to verify that the required components (binaries, etc.)
// to mount the volume are available on the underlying node.
// If not, it returns an error
func (b *cinderVolumeMounter) CanMount() error {
return nil
}

func (b *cinderVolumeMounter) SetUp(fsGroup *int64) error {
return b.SetUpAt(b.GetPath(), fsGroup)
}
Expand Down

0 comments on commit 63fc86a

Please sign in to comment.