mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Use 'Infof' instead of 'Errorf' for a debug log
This commit is contained in:
parent
29ab38e898
commit
a1530de319
@ -43,7 +43,7 @@ func (kl *Kubelet) defaultPodLimitsForDownwardAPI(pod *v1.Pod, container *v1.Con
|
||||
return nil, nil, fmt.Errorf("failed to find node object, expected a node")
|
||||
}
|
||||
allocatable := node.Status.Allocatable
|
||||
glog.Errorf("allocatable: %v", allocatable)
|
||||
glog.Infof("allocatable: %v", allocatable)
|
||||
podCopy, err := scheme.Scheme.Copy(pod)
|
||||
if err != nil {
|
||||
return nil, nil, fmt.Errorf("failed to perform a deep copy of pod object: %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user