Skip to content

Commit

Permalink
Merge pull request #660 from MarianoGappa/master
Browse files Browse the repository at this point in the history
Typo: occured -> occurred
  • Loading branch information
wvanbergen committed May 17, 2016
2 parents 38d579a + bbe99d8 commit 97511b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ type Config struct {
// Return specifies what channels will be populated. If they are set to true,
// you must read from them to prevent deadlock.
Return struct {
// If enabled, any errors that occured while consuming are returned on
// If enabled, any errors that occurred while consuming are returned on
// the Errors channel (default disabled).
Errors bool
}
Expand Down
2 changes: 1 addition & 1 deletion consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ type PartitionConsumer interface {
// the broker.
Messages() <-chan *ConsumerMessage

// Errors returns a read channel of errors that occured during consuming, if
// Errors returns a read channel of errors that occurred during consuming, if
// enabled. By default, errors are logged and not returned over this channel.
// If you want to implement any custom error handling, set your config's
// Consumer.Return.Errors setting to true, and read from this channel.
Expand Down

0 comments on commit 97511b2

Please sign in to comment.