From c50c0a835ed1e6100cbf6fe75e3560cabe4241e0 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Wed, 26 Jul 2023 10:17:32 +0200 Subject: [PATCH] fix(gomod): downgrade to yaml v2.0 --- go.mod | 2 +- pkg/fetcher/fetcher.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {