Skip to content

Commit

Permalink
Make fmt string use correct method (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutchinson authored Oct 23, 2024
1 parent 0fa8126 commit 76fa3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/internal/distributor/distributor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 76fa3dd

Please sign in to comment.