From e8e7ef989b624949342c3da0e0450eac540dc186 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 13 Oct 2021 15:18:12 +1100 Subject: [PATCH] Fix log message argument --- requesting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requesting.go b/requesting.go index ed20ba80..1da22900 100644 --- a/requesting.go +++ b/requesting.go @@ -273,7 +273,7 @@ func (p *Peer) applyRequestState(next requestState) bool { } if maxRequests(current.Requests.GetCardinality()) >= p.nominalMaxRequests() { log.Printf("not assigning all requests [desired=%v, cancelled=%v, max=%v]", - current.Requests.GetCardinality(), + next.Requests.GetCardinality(), p.cancelledRequests.GetCardinality(), p.nominalMaxRequests(), ) -- 2.48.1