Merge pull request #80973 from xiaoanyunfei/bugfix/orphan-volume

fix orphaned pod flexvolume  can not be cleaned up
This commit is contained in:
Kubernetes Prow Robot
2020-04-01 20:50:23 -07:00
committed by GitHub
5 changed files with 8 additions and 9 deletions

View File

@@ -704,7 +704,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{}