mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
del unnessary var definition
This commit is contained in:
parent
0338e0ef53
commit
760b2c901b
@ -164,8 +164,7 @@ func (kl *Kubelet) getPodVolumes(podUID types.UID) ([]*volumeTuple, error) {
|
||||
if volumeNameDir != nil {
|
||||
volumes = append(volumes, &volumeTuple{Kind: volumeKind, Name: volumeNameDir.Name()})
|
||||
} else {
|
||||
lerr := volumeNameDirsStat[i]
|
||||
glog.Errorf("Could not read directory %s: %v", podVolDir, lerr)
|
||||
glog.Errorf("Could not read directory %s: %v", podVolDir, volumeNameDirsStat[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user