fix orphaned pod flexvolume can not be cleaned up

This commit is contained in:
sunxiaofei03
2020-01-11 14:54:48 +08:00
parent 6db070ea5e
commit 330159c0a4
5 changed files with 8 additions and 9 deletions

View File

@@ -707,7 +707,7 @@ func (pm *VolumePluginMgr) FindPluginByName(name string) (VolumePlugin, error) {
}
if len(matches) == 0 {
return nil, fmt.Errorf("no volume plugin matched")
return nil, fmt.Errorf("no volume plugin matched name: %s", name)
}
if len(matches) > 1 {
matchedPluginNames := []string{}