Fix log message argument

This commit is contained in:
Matt Joiner 2021-10-13 15:18:12 +11:00
parent de87fd3eb1
commit e8e7ef989b
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ func (p *Peer) applyRequestState(next requestState) bool {
} }
if maxRequests(current.Requests.GetCardinality()) >= p.nominalMaxRequests() { if maxRequests(current.Requests.GetCardinality()) >= p.nominalMaxRequests() {
log.Printf("not assigning all requests [desired=%v, cancelled=%v, max=%v]", log.Printf("not assigning all requests [desired=%v, cancelled=%v, max=%v]",
current.Requests.GetCardinality(), next.Requests.GetCardinality(),
p.cancelledRequests.GetCardinality(), p.cancelledRequests.GetCardinality(),
p.nominalMaxRequests(), p.nominalMaxRequests(),
) )