Skip to content

Commit

Permalink
Update go-cty fixer replace directive to github.com/nywilken/go-cty v…
Browse files Browse the repository at this point in the history
…1.13.3
  • Loading branch information
Wilken Rivera authored and nywilken committed Oct 26, 2023
1 parent fe7beb7 commit c170d73
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/packer-sdc/internal/fix/gocty.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
sdkPath string = "github.com/hashicorp/packer-plugin-sdk"
oldPath string = "github.com/zclconf/go-cty"
newPath string = "github.com/nywilken/go-cty"
newVersion string = "1.12.1"
newVersion string = "1.13.3"
modFilename string = "go.mod"
)

Expand Down
1 change: 0 additions & 1 deletion cmd/packer-sdc/internal/fix/gocty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func TestFixGoCty_Unfixed(t *testing.T) {
},
{
name: "out of date fix",
versionStr: "1.13.1",
fixtureDir: filepath.Join("testdata", "unfixed", "version"),
},
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/packer-sdc/internal/fix/testdata/fixed/basic/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ require (
github.com/zclconf/go-cty v1.10.0
)

replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.12.1
replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.3
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ require (

replace github.com/hashicorp/packer-plugin-sdk => github.com/example/packer-plugin-sdk v0.5.0

replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.12.1 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.3 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ require (
github.com/zclconf/go-cty v1.10.0
)

replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.12.1 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.3 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ require (

replace github.com/hashicorp/packer-plugin-sdk => github.com/example/packer-plugin-sdk v0.5.0

replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.12.1 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.3 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ require (
github.com/zclconf/go-cty v1.10.0
)

replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.1 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.3 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ require (
github.com/zclconf/go-cty v1.10.0
)

replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.13.1 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187
replace github.com/zclconf/go-cty => github.com/nywilken/go-cty v1.12.1 // added by packer-sdc fix as noted in github.com/hashicorp/packer-plugin-sdk/issues/187

0 comments on commit c170d73

Please sign in to comment.