File tree Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
21
21
"testing"
22
22
23
23
"github.com/stretchr/testify/require"
24
- "gopkg. in/yaml. v2"
24
+ "go.yaml. in/yaml/ v2"
25
25
)
26
26
27
27
func TestJSONMarshalSecret (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ import (
32
32
"time"
33
33
34
34
conntrack "github.com/mwitkow/go-conntrack"
35
+ "go.yaml.in/yaml/v2"
35
36
"golang.org/x/net/http/httpproxy"
36
37
"golang.org/x/net/http2"
37
38
"golang.org/x/oauth2"
38
39
"golang.org/x/oauth2/clientcredentials"
39
- "gopkg.in/yaml.v2"
40
40
)
41
41
42
42
var (
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import (
36
36
37
37
"github.com/stretchr/testify/require"
38
38
"go.uber.org/atomic"
39
- "gopkg. in/yaml. v2"
39
+ "go.yaml. in/yaml/ v2"
40
40
)
41
41
42
42
const (
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
26
26
"testing"
27
27
28
28
"github.com/stretchr/testify/require"
29
- "gopkg. in/yaml. v2"
29
+ "go.yaml. in/yaml/ v2"
30
30
)
31
31
32
32
// LoadTLSConfig parses the given file into a tls.Config.
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ require (
13
13
github.com/prometheus/client_model v0.6.2
14
14
github.com/stretchr/testify v1.11.1
15
15
go.uber.org/atomic v1.11.0
16
+ go.yaml.in/yaml/v2 v2.4.2
16
17
golang.org/x/net v0.43.0
17
18
golang.org/x/oauth2 v0.30.0
18
19
google.golang.org/protobuf v1.36.8
19
- gopkg.in/yaml.v2 v2.4.0
20
20
)
21
21
22
22
require (
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8
45
45
github.com/xhit/go-str2duration/v2 v2.1.0 /go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU =
46
46
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE =
47
47
go.uber.org/atomic v1.11.0 /go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0 =
48
+ go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI =
49
+ go.yaml.in/yaml/v2 v2.4.2 /go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU =
48
50
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE =
49
51
golang.org/x/net v0.43.0 /go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg =
50
52
golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI =
@@ -59,7 +61,5 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8
59
61
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk =
60
62
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c /go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q =
61
63
gopkg.in/yaml.v2 v2.2.2 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
62
- gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY =
63
- gopkg.in/yaml.v2 v2.4.0 /go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ =
64
64
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
65
65
gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import (
24
24
"unicode/utf8"
25
25
26
26
dto "github.com/prometheus/client_model/go"
27
+ "go.yaml.in/yaml/v2"
27
28
"google.golang.org/protobuf/proto"
28
- "gopkg.in/yaml.v2"
29
29
)
30
30
31
31
var (
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import (
24
24
"github.com/google/go-cmp/cmp/cmpopts"
25
25
dto "github.com/prometheus/client_model/go"
26
26
"github.com/stretchr/testify/require"
27
+ "go.yaml.in/yaml/v2"
27
28
"google.golang.org/protobuf/proto"
28
- "gopkg.in/yaml.v2"
29
29
)
30
30
31
31
func testMetric (t testing.TB ) {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
"time"
25
25
26
26
"github.com/stretchr/testify/require"
27
- "gopkg. in/yaml. v2"
27
+ "go.yaml. in/yaml/ v2"
28
28
)
29
29
30
30
var (
You can’t perform that action at this time.
0 commit comments