diff --git a/pkg/volume/flexvolume/plugin.go b/pkg/volume/flexvolume/plugin.go index 942be15f653..4df126ed873 100644 --- a/pkg/volume/flexvolume/plugin.go +++ b/pkg/volume/flexvolume/plugin.go @@ -83,6 +83,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 }