mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Fix the key missing issue for structured log
Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
		@@ -539,7 +539,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) {
 | 
			
		||||
				// Run PostFilter plugins to try to make the pod schedulable in a future scheduling cycle.
 | 
			
		||||
				result, status := fwk.RunPostFilterPlugins(ctx, state, pod, fitError.Diagnosis.NodeToStatusMap)
 | 
			
		||||
				if status.Code() == framework.Error {
 | 
			
		||||
					klog.ErrorS(nil, "Status after running PostFilter plugins for pod", klog.KObj(pod), "status", status)
 | 
			
		||||
					klog.ErrorS(nil, "Status after running PostFilter plugins for pod", "pod", klog.KObj(pod), "status", status)
 | 
			
		||||
				} else {
 | 
			
		||||
					klog.V(5).InfoS("Status after running PostFilter plugins for pod", "pod", klog.KObj(pod), "status", status)
 | 
			
		||||
				}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user