mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 18:11:22 +00:00
error config attachable plugin
This commit is contained in:
@@ -398,7 +398,7 @@ func (asw *actualStateOfWorld) addVolume(
|
||||
}
|
||||
|
||||
pluginIsAttachable := false
|
||||
if thePlugin, err := asw.volumePluginMgr.FindAttachablePluginBySpec(volumeSpec); err != nil && thePlugin != nil {
|
||||
if thePlugin, err := asw.volumePluginMgr.FindAttachablePluginBySpec(volumeSpec); err == nil && thePlugin != nil {
|
||||
pluginIsAttachable = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user