diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/github.com/zclconf/go-cty/cty/gob.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/github.com/zclconf/go-cty/cty/gob.go')
-rw-r--r-- | vendor/github.com/zclconf/go-cty/cty/gob.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/zclconf/go-cty/cty/gob.go b/vendor/github.com/zclconf/go-cty/cty/gob.go index 3d73199..a77dace 100644 --- a/vendor/github.com/zclconf/go-cty/cty/gob.go +++ b/vendor/github.com/zclconf/go-cty/cty/gob.go | |||
@@ -103,11 +103,11 @@ func (t *Type) GobDecode(buf []byte) error { | |||
103 | // Capsule types cannot currently be gob-encoded, because they rely on pointer | 103 | // Capsule types cannot currently be gob-encoded, because they rely on pointer |
104 | // equality and we have no way to recover the original pointer on decode. | 104 | // equality and we have no way to recover the original pointer on decode. |
105 | func (t *capsuleType) GobEncode() ([]byte, error) { | 105 | func (t *capsuleType) GobEncode() ([]byte, error) { |
106 | return nil, fmt.Errorf("cannot gob-encode capsule type %q", t.FriendlyName()) | 106 | return nil, fmt.Errorf("cannot gob-encode capsule type %q", t.FriendlyName(friendlyTypeName)) |
107 | } | 107 | } |
108 | 108 | ||
109 | func (t *capsuleType) GobDecode() ([]byte, error) { | 109 | func (t *capsuleType) GobDecode() ([]byte, error) { |
110 | return nil, fmt.Errorf("cannot gob-decode capsule type %q", t.FriendlyName()) | 110 | return nil, fmt.Errorf("cannot gob-decode capsule type %q", t.FriendlyName(friendlyTypeName)) |
111 | } | 111 | } |
112 | 112 | ||
113 | type gobValue struct { | 113 | type gobValue struct { |