mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
Merge pull request #15472 from zhengguoyong/del_unnessary_var_definition
Auto commit by PR queue bot
This commit is contained in:
commit
02dd86c136
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