Skip to content

Commit

Permalink
Demote "storage cleaning happened too recently" from WARN to INFO (#270)
Browse files Browse the repository at this point in the history
francislavoie authored Feb 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3dd8f7d commit 8578566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maintain.go
Original file line number Diff line number Diff line change
@@ -452,7 +452,7 @@ func CleanStorage(ctx context.Context, storage Storage, opts CleanStorageOptions
lastTLSClean := lastClean["tls"]
if time.Since(lastTLSClean.Timestamp) < opts.Interval {
nextTime := time.Now().Add(opts.Interval)
opts.Logger.Warn("storage cleaning happened too recently; skipping for now",
opts.Logger.Info("storage cleaning happened too recently; skipping for now",
zap.String("instance", lastTLSClean.InstanceID),
zap.Time("try_again", nextTime),
zap.Duration("try_again_in", time.Until(nextTime)),

0 comments on commit 8578566

Please sign in to comment.