From e71aa456c38ba5956f00a2f22ccc57101f639c12 Mon Sep 17 00:00:00 2001 From: Varun Date: Mon, 5 Nov 2018 11:57:07 -0600 Subject: [PATCH] fixed a go vet suggestion in consumer group file --- consumer_group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consumer_group.go b/consumer_group.go index 33a231477..1d1ce0fe2 100644 --- a/consumer_group.go +++ b/consumer_group.go @@ -83,7 +83,7 @@ func NewConsumerGroup(addrs []string, groupID string, config *Config) (ConsumerG return c, nil } -// NewConsumerFromClient creates a new consumer group using the given client. It is still +// NewConsumerGroupFromClient creates a new consumer group using the given client. It is still // necessary to call Close() on the underlying client when shutting down this consumer. // PLEASE NOTE: consumer groups can only re-use but not share clients. func NewConsumerGroupFromClient(groupID string, client Client) (ConsumerGroup, error) {