summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-06-18 13:18:31 -0400
committerDave Henderson <dhenderson@gmail.com>2022-06-18 13:28:39 -0400
commit6d628fb69a306ad500b8bc4ecb51067f5b6dcf8e (patch)
tree33db1387ca3c4af9ad6a196b71a2a4a21c294355 /internal
parent8ed7dcaa146a8c38a718ff027860b226357ed535 (diff)
Use temporary fork of gopkg.in/yaml.v3 (in main)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'internal')
-rw-r--r--internal/config/configfile.go2
-rw-r--r--internal/config/configfile_test.go2
-rw-r--r--internal/config/types.go2
-rw-r--r--internal/config/types_test.go2
4 files changed, 4 insertions, 4 deletions
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) {