Skip to content

Commit 5a7bd01

Browse files
committed
chore: adjust patches.
Signed-off-by: i4k <[email protected]>
1 parent 53dc3ba commit 5a7bd01

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

ext/dynblock/functions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
package dynblock
55

66
import (
7-
"github.com/hashicorp/hcl/v2"
8-
"github.com/hashicorp/hcl/v2/hclsyntax"
7+
"github.com/terramate-io/hcl/v2"
8+
"github.com/terramate-io/hcl/v2/hclsyntax"
99
"github.com/zclconf/go-cty/cty"
1010
)
1111

ext/dynblock/functions_hcldec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
package dynblock
55

66
import (
7-
"github.com/hashicorp/hcl/v2"
8-
"github.com/hashicorp/hcl/v2/hcldec"
7+
"github.com/terramate-io/hcl/v2"
8+
"github.com/terramate-io/hcl/v2/hcldec"
99
)
1010

1111
// This is duplicated from ext/dynblock/variables_hcldec.go and modified to suit functions

ext/dynblock/functions_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import (
77
"reflect"
88
"testing"
99

10-
"github.com/hashicorp/hcl/v2/hcldec"
10+
"github.com/terramate-io/hcl/v2/hcldec"
1111
"github.com/zclconf/go-cty/cty"
1212

1313
"github.com/davecgh/go-spew/spew"
1414

15-
"github.com/hashicorp/hcl/v2"
16-
"github.com/hashicorp/hcl/v2/hclsyntax"
15+
"github.com/terramate-io/hcl/v2"
16+
"github.com/terramate-io/hcl/v2/hclsyntax"
1717
)
1818

1919
// This is heavily based on ext/dynblock/variables_test.go

gohcl/vardecode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"fmt"
1010
"reflect"
1111

12-
"github.com/hashicorp/hcl/v2"
12+
"github.com/terramate-io/hcl/v2"
1313
)
1414

1515
func VariablesInBody(body hcl.Body, val interface{}) ([]hcl.Traversal, hcl.Diagnostics) {

gohcl/vardecode_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"fmt"
1010
"testing"
1111

12-
"github.com/hashicorp/hcl/v2"
13-
"github.com/hashicorp/hcl/v2/gohcl"
14-
"github.com/hashicorp/hcl/v2/hclsyntax"
12+
"github.com/terramate-io/hcl/v2"
13+
"github.com/terramate-io/hcl/v2/gohcl"
14+
"github.com/terramate-io/hcl/v2/hclsyntax"
1515
"github.com/zclconf/go-cty/cty"
1616
)
1717

hcldec/functions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
package hcldec
55

66
import (
7-
"github.com/hashicorp/hcl/v2"
7+
"github.com/terramate-io/hcl/v2"
88
)
99

1010
// This is based off of hcldec/variables.go

hcldec/functions_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"reflect"
99
"testing"
1010

11-
"github.com/hashicorp/hcl/v2"
12-
"github.com/hashicorp/hcl/v2/hclsyntax"
11+
"github.com/terramate-io/hcl/v2"
12+
"github.com/terramate-io/hcl/v2/hclsyntax"
1313
"github.com/zclconf/go-cty/cty"
1414
)
1515

hclsyntax/expression_funcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package hclsyntax
77
// Run 'go generate' on this package to update the set of functions here.
88

99
import (
10-
"github.com/hashicorp/hcl/v2"
10+
"github.com/terramate-io/hcl/v2"
1111
)
1212

1313
func (e *AnonSymbolExpr) Functions() []hcl.Traversal {

hclsyntax/expression_funcs_gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ package hclsyntax
9696
// Run 'go generate' on this package to update the set of functions here.
9797
9898
import (
99-
"github.com/hashicorp/hcl/v2"
99+
"github.com/terramate-io/hcl/v2"
100100
)`
101101

102102
const outputMethodFmt = `

hclsyntax/functions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
package hclsyntax
55

66
import (
7-
"github.com/hashicorp/hcl/v2"
7+
"github.com/terramate-io/hcl/v2"
88
)
99

1010
func Functions(expr Expression) []hcl.Traversal {

0 commit comments

Comments
 (0)