mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #15472 from zhengguoyong/del_unnessary_var_definition
Auto commit by PR queue bot
This commit is contained in:
commit
02dd86c136
@ -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