mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Set flexvolumeplugin.host so that it's not nil
This commit is contained in:
@@ -86,6 +86,7 @@ func NewFlexVolumePlugin(pluginDir, name string) (volume.VolumePlugin, error) {
|
||||
|
||||
// Init is part of the volume.VolumePlugin interface.
|
||||
func (plugin *flexVolumePlugin) Init(host volume.VolumeHost) error {
|
||||
plugin.host = host
|
||||
// Hardwired 'success' as any errors from calling init() will be caught by NewFlexVolumePlugin()
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user