Skip to content

Commit a947b40

Browse files
authored
🌱 Show conflicts in SaveHostAndReturn in logs (#1604)
1 parent 411ff22 commit a947b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/services/baremetal/host/host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func SaveHostAndReturn(ctx context.Context, cl client.Client, host *infrav1.Hetz
160160
if err := cl.Update(ctx, host); err != nil {
161161
if apierrors.IsConflict(err) {
162162
log := ctrl.LoggerFrom(ctx)
163-
log.V(1).Info("conflict error. Retrying", "err", err)
163+
log.Info("conflict error. Retrying", "err", err)
164164
return reconcile.Result{Requeue: true}, nil
165165
}
166166
return reconcile.Result{}, fmt.Errorf("failed to update host object: %w", err)

0 commit comments

Comments
 (0)