File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818package encode
1919
2020import (
21+ "context"
2122 "encoding/json"
2223
2324 "github.com/netobserv/flowlogs-pipeline/pkg/api"
@@ -27,7 +28,6 @@ import (
2728 "github.com/prometheus/client_golang/prometheus"
2829 kafkago "github.com/segmentio/kafka-go"
2930 log "github.com/sirupsen/logrus"
30- "golang.org/x/net/context"
3131)
3232
3333type kafkaWriteMessage interface {
Original file line number Diff line number Diff line change 1818package encode
1919
2020import (
21+ "context"
2122 "encoding/json"
2223 "testing"
2324
@@ -28,7 +29,6 @@ import (
2829 kafkago "github.com/segmentio/kafka-go"
2930 "github.com/stretchr/testify/mock"
3031 "github.com/stretchr/testify/require"
31- "golang.org/x/net/context"
3232)
3333
3434const testKafkaConfig = `---
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ package encode
1919
2020import (
2121 "bytes"
22+ "context"
2223 "encoding/json"
2324 "fmt"
2425 "sync"
@@ -32,7 +33,6 @@ import (
3233 "github.com/netobserv/flowlogs-pipeline/pkg/pipeline/utils"
3334 "github.com/prometheus/client_golang/prometheus"
3435 log "github.com/sirupsen/logrus"
35- "golang.org/x/net/context"
3636)
3737
3838const (
Original file line number Diff line number Diff line change 1818package ingest
1919
2020import (
21+ "context"
2122 "time"
2223
2324 "github.com/netobserv/flowlogs-pipeline/pkg/api"
@@ -28,7 +29,6 @@ import (
2829 "github.com/netobserv/flowlogs-pipeline/pkg/pipeline/utils"
2930 kafkago "github.com/segmentio/kafka-go"
3031 "github.com/sirupsen/logrus"
31- "golang.org/x/net/context"
3232)
3333
3434var klog = logrus .WithField ("component" , "ingest.Kafka" )
You can’t perform that action at this time.
0 commit comments