Demote "storage cleaning happened too recently" from WARN to INFO (#270)

This commit is contained in:
Francis Lavoie 2024-02-19 18:48:18 -05:00 committed by GitHub
parent 3dd8f7da62
commit 857856663d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)),