Skip to content

Commit

Permalink
Merge pull request kubernetes#81456 from fredkan/bugfix/error-config-…
Browse files Browse the repository at this point in the history
…attachable-plugin

Bugfix/error config attachable plugin
  • Loading branch information
k8s-ci-robot authored Aug 16, 2019
2 parents 1955467 + 67aeb09 commit 9b54021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/volumemanager/cache/actual_state_of_world.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 9b54021

Please sign in to comment.