mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #81456 from fredkan/bugfix/error-config-attachable-plugin
Bugfix/error config attachable plugin
This commit is contained in:
commit
9b54021c65
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user