cmd/swarm/swarm-smoke: fixup

This commit is contained in:
Anton Evangelatov 2019-03-07 16:27:37 +01:00
parent 76144724e8
commit 235a0f3483

View file

@ -113,15 +113,15 @@ func trackChunks(testData []byte) error {
hostChunks = append(hostChunks, "1") hostChunks = append(hostChunks, "1")
} else { } else {
hostChunks = append(hostChunks, "0") hostChunks = append(hostChunks, "0")
count++
} }
count++
} }
if count == 0 { if count == 0 {
log.Info("host reported to have all chunks", "host", host) log.Info("host reported to have all chunks", "host", host)
} }
log.Trace("chunks", "chunks", strings.Join(hostChunks, ""), "host", httpHost) log.Trace("chunks", "chunks", strings.Join(hostChunks, ""), "host", host)
} }
return nil return nil
} }