From e74305c1eca03ebada849360f595079ea25e1ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Thu, 14 May 2020 17:24:23 +0100 Subject: [PATCH] minor godoc fixes. --- connmgr/decay.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connmgr/decay.go b/connmgr/decay.go index 7407567..eea64f6 100644 --- a/connmgr/decay.go +++ b/connmgr/decay.go @@ -67,8 +67,8 @@ type DecayingTag interface { Interval() time.Duration // Bump applies a delta to a tag value, calling its bump function. The bump - // may be applied asynchronously, in which case the returned error is used - // to indicate an anomaly when queuing. + // will be applied asynchronously, and a non-nil error indicates a fault + // when queuing. Bump(peer peer.ID, delta int) error } -- GitLab