Skip to content

Commit

Permalink
chore: adjust patches.
Browse files Browse the repository at this point in the history
Signed-off-by: i4k <[email protected]>
  • Loading branch information
i4ki committed Aug 29, 2024
1 parent 53dc3ba commit 5a7bd01
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions ext/dynblock/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
package dynblock

import (
"github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/hclsyntax"
"github.com/terramate-io/hcl/v2"
"github.com/terramate-io/hcl/v2/hclsyntax"
"github.com/zclconf/go-cty/cty"
)

Expand Down
4 changes: 2 additions & 2 deletions ext/dynblock/functions_hcldec.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
package dynblock

import (
"github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/hcldec"
"github.com/terramate-io/hcl/v2"
"github.com/terramate-io/hcl/v2/hcldec"
)

// This is duplicated from ext/dynblock/variables_hcldec.go and modified to suit functions
Expand Down
6 changes: 3 additions & 3 deletions ext/dynblock/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"reflect"
"testing"

"github.com/hashicorp/hcl/v2/hcldec"
"github.com/terramate-io/hcl/v2/hcldec"
"github.com/zclconf/go-cty/cty"

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

"github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/hclsyntax"
"github.com/terramate-io/hcl/v2"
"github.com/terramate-io/hcl/v2/hclsyntax"
)

// This is heavily based on ext/dynblock/variables_test.go
Expand Down
2 changes: 1 addition & 1 deletion gohcl/vardecode.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"reflect"

"github.com/hashicorp/hcl/v2"
"github.com/terramate-io/hcl/v2"
)

func VariablesInBody(body hcl.Body, val interface{}) ([]hcl.Traversal, hcl.Diagnostics) {
Expand Down
6 changes: 3 additions & 3 deletions gohcl/vardecode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"fmt"
"testing"

"github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/gohcl"
"github.com/hashicorp/hcl/v2/hclsyntax"
"github.com/terramate-io/hcl/v2"
"github.com/terramate-io/hcl/v2/gohcl"
"github.com/terramate-io/hcl/v2/hclsyntax"
"github.com/zclconf/go-cty/cty"
)

Expand Down
2 changes: 1 addition & 1 deletion hcldec/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package hcldec

import (
"github.com/hashicorp/hcl/v2"
"github.com/terramate-io/hcl/v2"
)

// This is based off of hcldec/variables.go
Expand Down
4 changes: 2 additions & 2 deletions hcldec/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"reflect"
"testing"

"github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/hclsyntax"
"github.com/terramate-io/hcl/v2"
"github.com/terramate-io/hcl/v2/hclsyntax"
"github.com/zclconf/go-cty/cty"
)

Expand Down
2 changes: 1 addition & 1 deletion hclsyntax/expression_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package hclsyntax
// Run 'go generate' on this package to update the set of functions here.

import (
"github.com/hashicorp/hcl/v2"
"github.com/terramate-io/hcl/v2"
)

func (e *AnonSymbolExpr) Functions() []hcl.Traversal {
Expand Down
2 changes: 1 addition & 1 deletion hclsyntax/expression_funcs_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ package hclsyntax
// Run 'go generate' on this package to update the set of functions here.
import (
"github.com/hashicorp/hcl/v2"
"github.com/terramate-io/hcl/v2"
)`

const outputMethodFmt = `
Expand Down
2 changes: 1 addition & 1 deletion hclsyntax/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package hclsyntax

import (
"github.com/hashicorp/hcl/v2"
"github.com/terramate-io/hcl/v2"
)

func Functions(expr Expression) []hcl.Traversal {
Expand Down
2 changes: 1 addition & 1 deletion hclsyntax/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/davecgh/go-spew/spew"
"github.com/hashicorp/hcl/v2"
"github.com/terramate-io/hcl/v2"
"github.com/zclconf/go-cty/cty"
)

Expand Down

0 comments on commit 5a7bd01

Please sign in to comment.