Skip to content

Commit

Permalink
Merge pull request kubernetes#104719 from ialidzhikov/automated-cherr…
Browse files Browse the repository at this point in the history
…y-pick-of-#104703-upstream-release-1.21

Automated cherry pick of kubernetes#104703: Fix the key missing issue for structured log
  • Loading branch information
k8s-ci-robot committed Sep 2, 2021
2 parents cd39757 + e414ce3 commit fa7977f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,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)
}
Expand Down

0 comments on commit fa7977f

Please sign in to comment.