Commit 035e73b6 authored by Yang Guo's avatar Yang Guo

Suppress warning when a pod in binding cannot be expired

parent 2cbb07a4
...@@ -439,7 +439,7 @@ func (cache *schedulerCache) cleanupAssumedPods(now time.Time) { ...@@ -439,7 +439,7 @@ func (cache *schedulerCache) cleanupAssumedPods(now time.Time) {
panic("Key found in assumed set but not in podStates. Potentially a logical error.") panic("Key found in assumed set but not in podStates. Potentially a logical error.")
} }
if !ps.bindingFinished { if !ps.bindingFinished {
glog.Warningf("Couldn't expire cache for pod %v/%v. Binding is still in progress.", glog.V(3).Infof("Couldn't expire cache for pod %v/%v. Binding is still in progress.",
ps.pod.Namespace, ps.pod.Name) ps.pod.Namespace, ps.pod.Name)
continue continue
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment