Fix punctuation in log messages

This commit is contained in:
Ingo Oppermann
2024-06-13 16:57:25 +02:00
parent 8290d007b4
commit cc75be6372

View File

@@ -90,12 +90,12 @@ func (c *cluster) recoverCluster(ctx context.Context, interval time.Duration) {
}
c.nodesLock.RUnlock()
c.logger.Warn().WithField("peers", peers).Log("Recovering raft.")
c.logger.Warn().WithField("peers", peers).Log("Recovering raft")
// recover raft with new set of peers
err = c.raft.Recover(peers, 2*interval)
if err != nil {
c.logger.Error().WithError(err).Log("Recovering raft failed. Shutting down.")
c.logger.Error().WithError(err).Log("Recovering raft failed, shutting down")
c.Shutdown()
return
}