mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Delete redundant parameter flag
This commit is contained in:
parent
d24d368845
commit
42845e19bf
@ -219,7 +219,7 @@ func (kl *Kubelet) getPodVolumePathListFromDisk(podUID types.UID) ([]string, err
|
|||||||
if pathExists, pathErr := volumeutil.PathExists(podVolDir); pathErr != nil {
|
if pathExists, pathErr := volumeutil.PathExists(podVolDir); pathErr != nil {
|
||||||
return volumes, fmt.Errorf("Error checking if path %q exists: %v", podVolDir, pathErr)
|
return volumes, fmt.Errorf("Error checking if path %q exists: %v", podVolDir, pathErr)
|
||||||
} else if !pathExists {
|
} else if !pathExists {
|
||||||
glog.Warningf("Warning: path %q does not exist: %q", podVolDir)
|
glog.Warningf("Path %q does not exist", podVolDir)
|
||||||
return volumes, nil
|
return volumes, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user