mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Set flexvolumeplugin.host so that it's not nil
This commit is contained in:
parent
1f580ae898
commit
8b5b2e9927
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user