From 76fa3dde1de263ee538eb6d6ec2ce17f9b670d85 Mon Sep 17 00:00:00 2001 From: Martin Hutchinson Date: Wed, 23 Oct 2024 16:19:44 +0100 Subject: [PATCH] Make fmt string use correct method (#244) --- 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 {