error config attachable plugin

This commit is contained in:
fredkan 2019-08-15 22:29:18 +08:00
parent 6524b83d53
commit 67aeb09c6a

View File

@ -398,7 +398,7 @@ func (asw *actualStateOfWorld) addVolume(
}
pluginIsAttachable := false
if thePlugin, err := asw.volumePluginMgr.FindAttachablePluginBySpec(volumeSpec); err == nil && thePlugin != nil {
if attachablePlugin, err := asw.volumePluginMgr.FindAttachablePluginBySpec(volumeSpec); err == nil && attachablePlugin != nil {
pluginIsAttachable = true
}