Skip to content

Commit

Permalink
PMM-13477 fix imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Nov 4, 2024
1 parent 38fa4f0 commit 0ff564e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion exporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ import (
"sync"
"testing"

"github.com/percona/mongodb_exporter/internal/tu"
"github.com/prometheus/client_golang/prometheus/testutil"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"

"github.com/percona/mongodb_exporter/internal/tu"
)

// Use this for testing because labels like cluster ID are not constant in docker containers
Expand Down
1 change: 1 addition & 0 deletions exporter/replset_status_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package exporter

import (
"context"

"github.com/prometheus/client_golang/prometheus"
"github.com/sirupsen/logrus"
"go.mongodb.org/mongo-driver/bson"
Expand Down
3 changes: 2 additions & 1 deletion exporter/replset_status_collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ import (
"testing"
"time"

"github.com/percona/mongodb_exporter/internal/tu"
"github.com/prometheus/client_golang/prometheus/testutil"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"

"github.com/percona/mongodb_exporter/internal/tu"
)

func TestReplsetStatusCollector(t *testing.T) {
Expand Down

0 comments on commit 0ff564e

Please sign in to comment.