File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 11package tfdiags
22
3- import (
4- "encoding/gob"
5- )
6-
73type rpcFriendlyDiag struct {
84 Severity_ Severity
95 Summary_ string
@@ -53,7 +49,3 @@ func (d rpcFriendlyDiag) FromExpr() *FromExpr {
5349 // expressions themselves are not RPC-friendly.
5450 return nil
5551}
56-
57- func init () {
58- gob .Register ((* rpcFriendlyDiag )(nil ))
59- }
Original file line number Diff line number Diff line change @@ -2,21 +2,13 @@ package terraform
22
33import (
44 "bytes"
5- "encoding/gob"
65 "fmt"
76 "io"
87
98 "github.com/hashicorp/terraform-plugin-sdk/internal/configs"
109 "github.com/zclconf/go-cty/cty"
1110)
1211
13- func init () {
14- gob .Register (make ([]interface {}, 0 ))
15- gob .Register (make ([]map [string ]interface {}, 0 ))
16- gob .Register (make (map [string ]interface {}))
17- gob .Register (make (map [string ]string ))
18- }
19-
2012// Plan represents a single Terraform execution plan, which contains
2113// all the information necessary to make an infrastructure change.
2214//
You can’t perform that action at this time.
0 commit comments