Fix vet issue
This commit is contained in:
2
db.go
2
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.
|
// Obtain current position of replica, check if past target position.
|
||||||
curr, err := r.CalcPos(pos.Generation)
|
curr, err := r.CalcPos(pos.Generation)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Printf("cannot obtain replica position: %w", err)
|
logger.Printf("cannot obtain replica position: %s", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user