Update pubsub.go

This commit is contained in:
Preston Van Loon 2020-07-13 13:12:27 -07:00 committed by vyzo
parent 54f20b5a2a
commit aabbdb1143

View File

@ -31,7 +31,7 @@ var (
// ErrSubscriptionCancelled may be returned when a subscription Next() is called after the
// subscription has been cancelled.
ErrSubscriptionCancelled = errors.New("subscription cancelled by calling sub.Cancel()")
ErrSubscriptionCancelled = errors.New("subscription cancelled")
)
var log = logging.Logger("pubsub")