mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Remove unuseful error message about updating pod conditions not owned by kubelet
This commit is contained in:
parent
e884b40e73
commit
454f9acc24
@ -189,12 +189,6 @@ func (m *manager) SetPodStatus(pod *v1.Pod, status v1.PodStatus) {
|
||||
m.podStatusesLock.Lock()
|
||||
defer m.podStatusesLock.Unlock()
|
||||
|
||||
for _, c := range pod.Status.Conditions {
|
||||
if !kubetypes.PodConditionByKubelet(c.Type) {
|
||||
klog.Errorf("Kubelet is trying to update pod condition %q for pod %q. "+
|
||||
"But it is not owned by kubelet.", string(c.Type), format.Pod(pod))
|
||||
}
|
||||
}
|
||||
// Make sure we're caching a deep copy.
|
||||
status = *status.DeepCopy()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user