From 6d628fb69a306ad500b8bc4ecb51067f5b6dcf8e Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 18 Jun 2022 13:18:31 -0400 Subject: Use temporary fork of gopkg.in/yaml.v3 (in main) Signed-off-by: Dave Henderson --- internal/config/configfile.go | 2 +- internal/config/configfile_test.go | 2 +- internal/config/types.go | 2 +- internal/config/types_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'internal') diff --git a/internal/config/configfile.go b/internal/config/configfile.go index 8bfdd0b7..2743bdac 100644 --- a/internal/config/configfile.go +++ b/internal/config/configfile.go @@ -15,8 +15,8 @@ import ( "time" "github.com/hairyhenderson/gomplate/v3/internal/iohelpers" + "github.com/hairyhenderson/yaml" "github.com/pkg/errors" - "gopkg.in/yaml.v3" ) // Parse a config file diff --git a/internal/config/configfile_test.go b/internal/config/configfile_test.go index 458306a1..cc984837 100644 --- a/internal/config/configfile_test.go +++ b/internal/config/configfile_test.go @@ -12,8 +12,8 @@ import ( "time" "github.com/hairyhenderson/gomplate/v3/internal/iohelpers" + "github.com/hairyhenderson/yaml" "github.com/stretchr/testify/assert" - "gopkg.in/yaml.v3" ) func TestParseConfigFile(t *testing.T) { diff --git a/internal/config/types.go b/internal/config/types.go index 042ba533..358d4d8d 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "gopkg.in/yaml.v3" + "github.com/hairyhenderson/yaml" ) // Templates - a map of templates. We can't just use map[string]DataSource, diff --git a/internal/config/types_test.go b/internal/config/types_test.go index 93afd068..49225afb 100644 --- a/internal/config/types_test.go +++ b/internal/config/types_test.go @@ -4,8 +4,8 @@ import ( "net/http" "testing" + "github.com/hairyhenderson/yaml" "github.com/stretchr/testify/assert" - "gopkg.in/yaml.v3" ) func TestTemplates_UnmarshalYAML(t *testing.T) { -- cgit v1.2.3