Skip to content

Commit dfbf8d2

Browse files
Merge pull request #12 from systay/patch-1
Minor fix of String output of DefaultLimiter
2 parents 6f54f3c + 68c30bf commit dfbf8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

limiter/default.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,6 @@ func (l *DefaultLimiter) String() string {
246246
rttCandidate = l.sample.CandidateRTTNanoseconds() / 1000
247247
}
248248
return fmt.Sprintf(
249-
"DefaultLimiter{RTTCandidate=%d ms, maxInFlight=%d, limit=%d, strategy=%v}",
249+
"DefaultLimiter{RTTCandidate=%d ms, maxInFlight=%d, limit=%v, strategy=%v}",
250250
rttCandidate, l.inFlight, l.limit, l.strategy)
251251
}

0 commit comments

Comments
 (0)