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/hashicorp/terraform/tfdiags/simple_warning.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/hashicorp/terraform/tfdiags/simple_warning.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/tfdiags/simple_warning.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/github.com/hashicorp/terraform/tfdiags/simple_warning.go b/vendor/github.com/hashicorp/terraform/tfdiags/simple_warning.go index fb3ac98..b0f1ecd 100644 --- a/vendor/github.com/hashicorp/terraform/tfdiags/simple_warning.go +++ b/vendor/github.com/hashicorp/terraform/tfdiags/simple_warning.go | |||
@@ -20,6 +20,11 @@ func (e simpleWarning) Description() Description { | |||
20 | } | 20 | } |
21 | 21 | ||
22 | func (e simpleWarning) Source() Source { | 22 | func (e simpleWarning) Source() Source { |
23 | // No source information available for a native error | 23 | // No source information available for a simple warning |
24 | return Source{} | 24 | return Source{} |
25 | } | 25 | } |
26 | |||
27 | func (e simpleWarning) FromExpr() *FromExpr { | ||
28 | // Simple warnings are not expression-related | ||
29 | return nil | ||
30 | } | ||