Skip to content

Commit

Permalink
v2/contrib/segmentio/kafka-go: fix WithDataStreams option signature
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Apr 8, 2024
1 parent c8ff8d7 commit 75c8781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/contrib/segmentio/kafka-go/option.go
Expand Up @@ -89,7 +89,7 @@ func WithAnalyticsRate(rate float64) OptionFn {
}

// WithDataStreams enables the Data Streams monitoring product features: https://www.datadoghq.com/product/data-streams-monitoring/
func WithDataStreams() Option {
func WithDataStreams() OptionFn {
return func(cfg *config) {
cfg.dataStreamsEnabled = true
}
Expand Down

0 comments on commit 75c8781

Please sign in to comment.