Skip to content

Commit

Permalink
Update statsd/options.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jaime Fullaondo <jaime.fullaondo@datadoghq.com>
  • Loading branch information
hush-hush and truthbk committed Apr 15, 2021
1 parent f2fb331 commit e3cb1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsd/options.go
Expand Up @@ -201,7 +201,7 @@ func WithBufferFlushInterval(bufferFlushInterval time.Duration) Option {
func WithBufferShardCount(bufferShardCount int) Option {
return func(o *Options) error {
if bufferShardCount < 1 {
return fmt.Errorf("BufferShardCount must be a positif integer")
return fmt.Errorf("BufferShardCount must be a positive integer")
}
o.BufferShardCount = bufferShardCount
return nil
Expand Down

0 comments on commit e3cb1a4

Please sign in to comment.