Skip to content

Commit

Permalink
fixed a go vet suggestion in consumer group file
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun committed Nov 5, 2018
1 parent f3f4f5f commit e71aa45
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 e71aa45

Please sign in to comment.