Merge pull request #81456 from fredkan/bugfix/error-config-attachable-plugin

Bugfix/error config attachable plugin
This commit is contained in:
Kubernetes Prow Robot
2019-08-16 06:44:44 -07:00
committed by GitHub

View File

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