Skip to content

Commit

Permalink
Merge pull request #1209 from varun06/consumer-group-typo-fix
Browse files Browse the repository at this point in the history
fixed a go vet suggestion in consumer group file
  • Loading branch information
bai authored Nov 15, 2018
2 parents ed38f57 + e71aa45 commit cebb584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cebb584

Please sign in to comment.