Skip to content

Commit

Permalink
Fix for issue #93, explicitly call sarama.v1 -> sarama
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Aug 6, 2015
1 parent ab28707 commit 2f09e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/kafka_consumer/kafka_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/influxdb/influxdb/tsdb"
"github.com/influxdb/telegraf/plugins"
"github.com/wvanbergen/kafka/consumergroup"
"gopkg.in/Shopify/sarama.v1"
sarama "gopkg.in/Shopify/sarama.v1"
)

type Kafka struct {
Expand Down
2 changes: 1 addition & 1 deletion plugins/kafka_consumer/kafka_consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/influxdb/telegraf/testutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/Shopify/sarama.v1"
sarama "gopkg.in/Shopify/sarama.v1"
)

const testMsg = "cpu_load_short,direction=in,host=server01,region=us-west value=23422.0 1422568543702900257"
Expand Down

0 comments on commit 2f09e34

Please sign in to comment.