From 4d7b150579e4aca00c3cebba81d50ff1f9ac9f36 Mon Sep 17 00:00:00 2001 From: Martin Hutchinson Date: Wed, 23 Oct 2024 14:49:00 +0000 Subject: [PATCH] Make fmt string use correct method --- cmd/internal/distributor/distributor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/internal/distributor/distributor.go b/cmd/internal/distributor/distributor.go index eddabbf..d208bb7 100644 --- a/cmd/internal/distributor/distributor.go +++ b/cmd/internal/distributor/distributor.go @@ -286,7 +286,7 @@ func (d *Distributor) Distribute(ctx context.Context, logID, witID string, nextR if err != nil { // This could happen because the log has variable info, such as a timestamp. // Don't treat this as a critical error or the distributor can't accept the new checkpoint. - glog.Warning("Failed to combine %d checkpoints: %v", sigCount, err) + glog.Warningf("Failed to combine %d checkpoints: %v", sigCount, err) } else { _, err = tx.ExecContext(ctx, `REPLACE INTO merged_checkpoints (logID, sigCount, treeSize, chkpt) VALUES (?, ?, ?, ?)`, logID, sigCount, newCP.Size, mergedCP) if err != nil {