Skip to content

Commit

Permalink
fix: Format retry delay as string in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeBensu committed Aug 18, 2024
1 parent eb7b854 commit 2b5b88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dex/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ func initializeStorageWithRetry(storageConfig Storage, logger *slog.Logger) (sto

if attempt < retryAttempts {
logger.Info("Retrying storage initialization",
"nextAttemptIn", retryDelay)
"nextAttemptIn", retryDelay.String())
time.Sleep(retryDelay)
}
}
Expand Down

0 comments on commit 2b5b88b

Please sign in to comment.