Skip to content

Commit

Permalink
fix log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed Aug 30, 2024
1 parent cc31a44 commit 78e4b68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controllers/machine/drain/drain.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,14 @@ func (d *Helper) EvictPods(ctx context.Context, podDeleteList *PodDeleteList) Ev
log = log.WithValues("reason", pd.Status.Message)
}

log.V(3).Info("Skip evicting Pod because it should be ignored")
log.V(4).Info("Skip evicting Pod because it should be ignored")
res.PodsIgnored = append(res.PodsIgnored, pd.Pod)
}

for _, pd := range podsWithDeletionTimestamp {
log := ctrl.LoggerFrom(ctx, "Pod", klog.KObj(pd.Pod))

log.V(3).Info("Skip triggering Pod eviction because it already has a deletionTimestamp")
log.V(4).Info("Skip triggering Pod eviction because it already has a deletionTimestamp")
res.PodsDeletionTimestampSet = append(res.PodsDeletionTimestampSet, pd.Pod)
}

Expand Down

0 comments on commit 78e4b68

Please sign in to comment.