Skip to content

Commit

Permalink
vendor: update gopkg.in/yaml to v3
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Redko <[email protected]>
  • Loading branch information
alexandear committed Nov 18, 2024
1 parent 9861ce9 commit d13bb57
Show file tree
Hide file tree
Showing 25 changed files with 2,546 additions and 1,082 deletions.
2 changes: 1 addition & 1 deletion cli/command/stack/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
composeLoader "github.com/docker/cli/cli/compose/loader"
composetypes "github.com/docker/cli/cli/compose/types"
"github.com/spf13/cobra"
yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
)

func newConfigCommand(dockerCli command.Cli) *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion cli/compose/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/google/shlex"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
)

// Options supported by Load
Expand Down
2 changes: 1 addition & 1 deletion cli/compose/loader/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
"gotest.tools/v3/assert"
"gotest.tools/v3/golden"
)
Expand Down
2 changes: 1 addition & 1 deletion vendor.mod
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ require (
golang.org/x/sys v0.26.0
golang.org/x/term v0.25.0
golang.org/x/text v0.19.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
gotest.tools/v3 v3.5.1
tags.cncf.io/container-device-interface v0.8.0
)
Expand Down
17 changes: 0 additions & 17 deletions vendor/gopkg.in/yaml.v2/.travis.yml

This file was deleted.

201 changes: 0 additions & 201 deletions vendor/gopkg.in/yaml.v2/LICENSE

This file was deleted.

Loading

0 comments on commit d13bb57

Please sign in to comment.