Commit 5c074d8f authored by Amos Wenger's avatar Amos Wenger

Fix go1.11 warning

parent b6e2224b
Pipeline #13023 passed with stage
in 11 minutes and 8 seconds
......@@ -111,7 +111,7 @@ func (ctx *Context) ApplySingleFull(output io.Writer, pool Pool, op Operation, f
copied, err := io.CopyBuffer(output, io.LimitReader(target, opSize), buffer)
if err != nil {
if failFast {
return errors.Wrapf(err, "While copying %d bytes: %s", blockSize*op.BlockSpan)
return errors.Wrapf(err, "While copying %d bytes", blockSize*op.BlockSpan)
}
remaining := opSize - copied
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment