Commit 696d403f authored by David Vorick's avatar David Vorick Committed by GitHub

Merge pull request #2162 from NebulousLabs/activepieces

fix active pieces log formatting
parents c516b0d1 4cc0579e
...@@ -357,7 +357,7 @@ func (r *Renter) managedDownloadIteration(ds *downloadState) { ...@@ -357,7 +357,7 @@ func (r *Renter) managedDownloadIteration(ds *downloadState) {
// If the above conditions are true, it should also be the case that // If the above conditions are true, it should also be the case that
// the number of active pieces is zero. // the number of active pieces is zero.
if ds.activePieces != 0 { if ds.activePieces != 0 {
r.log.Critical("ERROR: the renter is idle, but tracking %v active pieces; resetting to zero", ds.activePieces) r.log.Critical("ERROR: the renter is idle, but tracking", ds.activePieces, "active pieces; resetting to zero")
ds.activePieces = 0 ds.activePieces = 0
} }
......
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