HA: Don't log retry count

Logging of the `attempt` is a meaningless metric as it is not constantly
logged but only when the retryable error changes, and it has no context
as there is no such thing as max attempts.
This commit is contained in:
Eric Lippmann 2024-04-09 15:57:59 +02:00
parent 51a6ef25b8
commit c2b449d3a6

View file

@ -394,7 +394,7 @@ func (h *HA) realize(
log = h.logger.Infow
}
log("Can't update or insert instance. Retrying", zap.Error(err), zap.Uint64("retry count", attempt))
log("Can't update or insert instance. Retrying", zap.Error(err))
}
},
OnSuccess: func(elapsed time.Duration, attempt uint64, lastErr error) {