Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Commit

Permalink
ring: tiny: improve info message
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Dec 11, 2016
1 parent 100add2 commit b19d218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ring.go
Expand Up @@ -155,7 +155,7 @@ func (pi PeerInfoList) GetWeights() map[string]int {
}
for _, p := range pi {
out[p.UUID] = int(p.TotalBlocks / uint64(gcd.Int64()))
clog.Infof("%s: %d", p.UUID, out[p.UUID])
clog.Infof("%s: weight %d", p.UUID, out[p.UUID])
}
return out
}

0 comments on commit b19d218

Please sign in to comment.