Skip to content

Commit 839daf4

Browse files
authored
Update vendoring (#403)
* Switch out gopkg.in for github.com in go-sqlmock. Signed-off-by: Ben Kochie <superq@gmail.com>
1 parent aaa8850 commit 839daf4

File tree

233 files changed

+20813
-3082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+20813
-3082
lines changed

collector/binlog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestScrapeBinlogSize(t *testing.T) {

collector/engine_innodb_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestScrapeEngineInnodbStatus(t *testing.T) {

collector/engine_tokudb_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestSanitizeTokudbMetric(t *testing.T) {

collector/global_status_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestScrapeGlobalStatus(t *testing.T) {

collector/global_variables_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestScrapeGlobalVariables(t *testing.T) {

collector/heartbeat_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
"gopkg.in/alecthomas/kingpin.v2"
2525
)
2626

collector/info_schema_clientstats_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestScrapeClientStat(t *testing.T) {

collector/info_schema_innodb_cmp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestScrapeInnodbCmp(t *testing.T) {

collector/info_schema_innodb_cmpmem_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/smartystreets/goconvey/convey"
23-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2424
)
2525

2626
func TestScrapeInnodbCmpMem(t *testing.T) {

collector/info_schema_innodb_metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import (
1717
"context"
1818
"testing"
1919

20+
"github.com/DATA-DOG/go-sqlmock"
2021
"github.com/prometheus/client_golang/prometheus"
2122
dto "github.com/prometheus/client_model/go"
2223
"github.com/prometheus/common/log"
2324
"github.com/smartystreets/goconvey/convey"
24-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
2525
"gopkg.in/alecthomas/kingpin.v2"
2626
)
2727

0 commit comments

Comments
 (0)