Skip to content

Commit 880488f

Browse files
committed
Update log
1 parent 4fc2c2c commit 880488f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slice/internal/controller/workload_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,9 +618,9 @@ func (r *WorkloadReconciler) createSlices(ctx context.Context, wl *kueue.Workloa
618618
msg := fmt.Sprintf("Error creating Slice %q: %v", slice.Name, err)
619619
log.Error(err, msg)
620620
r.record.Event(wl, corev1.EventTypeWarning, FailedCreateSliceEventType, api.TruncateEventMessage(msg))
621+
log.V(2).Info(fmt.Sprintf("Admission check %q updated state from %q to %q", ac.Name, ac.State, kueue.CheckStatePending), "reason", msg)
621622
ac.State = kueue.CheckStatePending
622623
ac.Message = api.TruncateConditionMessage(msg)
623-
log.V(2).Info("Updating AdmissionCheck state", "state", ac.State, "reason", msg)
624624
patchErr := r.updateWorkloadAdmissionCheckStatus(ctx, wl, ac)
625625
if patchErr != nil {
626626
return nil, errors.Join(err, patchErr)

0 commit comments

Comments
 (0)