Commit 8b5b2e99 authored by Matthew Wong's avatar Matthew Wong

Set flexvolumeplugin.host so that it's not nil

parent 1f580ae8
...@@ -86,6 +86,7 @@ func NewFlexVolumePlugin(pluginDir, name string) (volume.VolumePlugin, error) { ...@@ -86,6 +86,7 @@ func NewFlexVolumePlugin(pluginDir, name string) (volume.VolumePlugin, error) {
// Init is part of the volume.VolumePlugin interface. // Init is part of the volume.VolumePlugin interface.
func (plugin *flexVolumePlugin) Init(host volume.VolumeHost) error { func (plugin *flexVolumePlugin) Init(host volume.VolumeHost) error {
plugin.host = host
// Hardwired 'success' as any errors from calling init() will be caught by NewFlexVolumePlugin() // Hardwired 'success' as any errors from calling init() will be caught by NewFlexVolumePlugin()
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment