Skip to content

Commit

Permalink
fix: Format retry delay as string in logs
Browse files Browse the repository at this point in the history
Signed-off-by: moeneuron <[email protected]>
  • Loading branch information
MoeBensu committed Aug 20, 2024
1 parent abb1a0a commit 255cce4
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 255cce4

Please sign in to comment.