Skip to content

Commit 36dd6db

Browse files
author
Harry Li
committed
feat(webhook): add additional log
1 parent c85a4cc commit 36dd6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scheduler/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (h *webhook) Handle(_ context.Context, req admission.Request) admission.Res
6666
klog.Infof(template+" - Pod already has different scheduler assigned", req.Namespace, req.Name, req.UID)
6767
return admission.Allowed("pod already has different scheduler assigned")
6868
}
69-
klog.Infof(template, pod.Namespace, pod.Name, pod.UID)
69+
klog.Infof(template+" - Checking resources and scheduler assignment", pod.Namespace, pod.Name, pod.UID)
7070
hasResource := false
7171
for idx, ctr := range append(pod.Spec.Containers, pod.Spec.InitContainers...) {
7272
c := &pod.Spec.Containers[idx]

0 commit comments

Comments
 (0)