mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
del unnessary var definition
This commit is contained in:
parent
0338e0ef53
commit
760b2c901b
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue