From da5087c14cc9614b032efb6a46d5fa3878e9f699 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Thu, 31 Dec 2020 10:56:29 -0700 Subject: [PATCH] Fix vet issue --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index 384c27d..f9d2332 100644 --- a/db.go +++ b/db.go @@ -1477,7 +1477,7 @@ func (db *DB) waitForReplica(ctx context.Context, r Replica, pos Pos, logger *lo // Obtain current position of replica, check if past target position. curr, err := r.CalcPos(pos.Generation) if err != nil { - logger.Printf("cannot obtain replica position: %w", err) + logger.Printf("cannot obtain replica position: %s", err) continue }