Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
cyriltovena committed Sep 5, 2024
1 parent e65dc4d commit e632fc4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion pkg/ingester-rf1/objstore/test_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"os"
"testing"

"github.com/prometheus/common/model"

"github.com/grafana/loki/v3/pkg/storage"
"github.com/grafana/loki/v3/pkg/storage/chunk/client/local"
"github.com/grafana/loki/v3/pkg/storage/config"
"github.com/prometheus/common/model"
)

var metrics *storage.ClientMetrics
Expand Down
3 changes: 2 additions & 1 deletion pkg/kafka/encoding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import (
"testing"
"time"

"github.com/grafana/loki/v3/pkg/logproto"
"github.com/prometheus/prometheus/model/labels"
"github.com/stretchr/testify/require"

"github.com/grafana/loki/v3/pkg/logproto"
)

func TestEncoderDecoder(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions pkg/kafka/ingester/consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import (
"time"

"github.com/go-kit/log"
"github.com/prometheus/client_golang/prometheus"
"github.com/stretchr/testify/require"

"github.com/grafana/loki/v3/pkg/ingester-rf1/objstore"
"github.com/grafana/loki/v3/pkg/kafka"
"github.com/grafana/loki/v3/pkg/logproto"
"github.com/prometheus/client_golang/prometheus"
"github.com/stretchr/testify/require"
)

func TestConsumer(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/kafka/ingester/partition_committer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ import (
"github.com/twmb/franz-go/pkg/kadm"
"github.com/twmb/franz-go/plugin/kprom"

"github.com/prometheus/client_golang/prometheus/testutil"

"github.com/grafana/loki/v3/pkg/kafka"
"github.com/grafana/loki/v3/pkg/kafka/testkafka"
"github.com/prometheus/client_golang/prometheus/testutil"
)

func TestPartitionCommitter(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions pkg/kafka/tee/tee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import (

"github.com/go-kit/log"
"github.com/grafana/dskit/ring"
"github.com/grafana/loki/v3/pkg/distributor"
"github.com/grafana/loki/v3/pkg/kafka/testkafka"
"github.com/prometheus/client_golang/prometheus"
"github.com/stretchr/testify/require"

"github.com/grafana/loki/v3/pkg/distributor"
"github.com/grafana/loki/v3/pkg/kafka/testkafka"

"github.com/grafana/loki/pkg/push"
)

Expand Down

0 comments on commit e632fc4

Please sign in to comment.