Skip to content
Snippets Groups Projects
Commit e1acc892 authored by Tuan Le's avatar Tuan Le Committed by Derek Su
Browse files

Update provisioner.go


Co-authored-by: default avatarDerek Su <derek.su@suse.com>
parent 197851d9
Branches
Tags
No related merge requests found
......@@ -259,7 +259,7 @@ func (p *LocalPathProvisioner) getPathOnNode(node string, requestedPath string,
}
i--
}
return "", fmt.Errorf("never happens, but compiler doesn't know that")
return "", fmt.Errorf("failed to select a random path: no path selected from %d candidates", len(paths))
}
func (p *LocalPathProvisioner) isSharedFilesystem(c *StorageClassConfig) (bool, error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment