Skip to content

Commit 20880c3

Browse files
authored
Merge pull request #1589 from Shopify/diego_fix-error-message
fix error message s/CommitInterval/AutoCommit.Interval
2 parents 94173f8 + 052b850 commit 20880c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ func (c *Config) Validate() error {
679679
case c.Consumer.Retry.Backoff < 0:
680680
return ConfigurationError("Consumer.Retry.Backoff must be >= 0")
681681
case c.Consumer.Offsets.AutoCommit.Interval <= 0:
682-
return ConfigurationError("Consumer.Offsets.CommitInterval must be > 0")
682+
return ConfigurationError("Consumer.Offsets.AutoCommit.Interval must be > 0")
683683
case c.Consumer.Offsets.Initial != OffsetOldest && c.Consumer.Offsets.Initial != OffsetNewest:
684684
return ConfigurationError("Consumer.Offsets.Initial must be OffsetOldest or OffsetNewest")
685685
case c.Consumer.Offsets.Retry.Max < 0:

0 commit comments

Comments
 (0)