Fix for issue #93, just use github path instead of gopkg.in

This commit is contained in:
Cameron Sparr 2015-08-06 10:35:50 -06:00
parent 090c0a60fa
commit 1ac6da4a8b
2 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ import (
"os/signal" "os/signal"
"time" "time"
"github.com/Shopify/sarama"
"github.com/influxdb/influxdb/tsdb" "github.com/influxdb/influxdb/tsdb"
"github.com/influxdb/telegraf/plugins" "github.com/influxdb/telegraf/plugins"
"github.com/wvanbergen/kafka/consumergroup" "github.com/wvanbergen/kafka/consumergroup"
"gopkg.in/Shopify/sarama.v1"
) )
type Kafka struct { type Kafka struct {

View File

@ -5,10 +5,10 @@ import (
"testing" "testing"
"time" "time"
"github.com/Shopify/sarama"
"github.com/influxdb/telegraf/testutil" "github.com/influxdb/telegraf/testutil"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"gopkg.in/Shopify/sarama.v1"
) )
const testMsg = "cpu_load_short,direction=in,host=server01,region=us-west value=23422.0 1422568543702900257" const testMsg = "cpu_load_short,direction=in,host=server01,region=us-west value=23422.0 1422568543702900257"