Skip to content

Commit be4e2e0

Browse files
authored
chore(deps): switch from deprecated yaml.v3 to equivalent yaml/v3 (#46)
1 parent e839296 commit be4e2e0

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

cmd/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/equinix/cli/internal/api"
1010
"github.com/spf13/cobra"
11-
"gopkg.in/yaml.v3"
11+
"go.yaml.in/yaml/v3"
1212
)
1313

1414
var method string

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/spf13/cobra v1.10.2
88
github.com/spf13/pflag v1.0.10
99
github.com/spf13/viper v1.21.0
10-
gopkg.in/yaml.v3 v3.0.1
10+
go.yaml.in/yaml/v3 v3.0.4
1111
)
1212

1313
require (
@@ -22,7 +22,6 @@ require (
2222
github.com/spf13/afero v1.15.0 // indirect
2323
github.com/spf13/cast v1.10.0 // indirect
2424
github.com/subosito/gotenv v1.6.0 // indirect
25-
go.yaml.in/yaml/v3 v3.0.4 // indirect
2625
golang.org/x/oauth2 v0.26.0 // indirect
2726
golang.org/x/sys v0.29.0 // indirect
2827
golang.org/x/text v0.28.0 // indirect

internal/register/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/equinix/cli/internal/parser"
1515
"github.com/spf13/cobra"
1616
"github.com/spf13/pflag"
17-
"gopkg.in/yaml.v3"
17+
"go.yaml.in/yaml/v3"
1818
)
1919

2020
// APIClientInterface represents any API client that can be used for command registration

0 commit comments

Comments
 (0)