Skip to content

Commit

Permalink
error config attachable plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkan committed Aug 15, 2019
1 parent 6524b83 commit 67aeb09
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 thePlugin, err := asw.volumePluginMgr.FindAttachablePluginBySpec(volumeSpec); err == nil && thePlugin != nil {
if attachablePlugin, err := asw.volumePluginMgr.FindAttachablePluginBySpec(volumeSpec); err == nil && attachablePlugin != nil {
pluginIsAttachable = true
}

Expand Down

0 comments on commit 67aeb09

Please sign in to comment.