diff --git a/go.mod b/go.mod index be3e42f..2d7eb01 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,6 @@ require ( github.com/spf13/cobra v1.7.0 github.com/stretchr/testify v1.8.4 gopkg.in/yaml.v2 v2.4.0 - gopkg.in/yaml.v3 v3.0.1 ) require ( @@ -14,4 +13,5 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/spf13/pflag v1.0.5 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/pkg/fetcher/fetcher.go b/pkg/fetcher/fetcher.go index fd69792..735a74e 100644 --- a/pkg/fetcher/fetcher.go +++ b/pkg/fetcher/fetcher.go @@ -8,7 +8,7 @@ import ( "os" "git.cryptic.systems/volker.raschek/dcmerge/pkg/domain/dockerCompose" - "gopkg.in/yaml.v3" + "gopkg.in/yaml.v2" ) func Fetch(urls ...string) ([]*dockerCompose.Config, error) {