update HIL

This commit is contained in:
Mitchell Hashimoto 2016-11-10 17:14:12 -08:00
parent 15f50b86bf
commit efd27e9e4e
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
2 changed files with 4 additions and 5 deletions

View File

@ -55,7 +55,7 @@ func InterfaceToVariable(input interface{}) (ast.Variable, error) {
if err := hilMapstructureWeakDecode(input, &stringVal); err == nil { if err := hilMapstructureWeakDecode(input, &stringVal); err == nil {
// Special case the unknown value to turn into "unknown" // Special case the unknown value to turn into "unknown"
if stringVal == UnknownValue { if stringVal == UnknownValue {
return ast.Variable{Type: ast.TypeUnknown}, nil return ast.Variable{Value: UnknownValue, Type: ast.TypeUnknown}, nil
} }
// Otherwise return the string value // Otherwise return the string value

7
vendor/vendor.json vendored
View File

@ -1412,10 +1412,10 @@
"revisionTime": "2016-11-09T22:51:35Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "mZhRldYjh9MAXzdi3zihMX0A/JU=", "checksumSHA1": "PjLBj8sicHOz2ZzuaMTPZ09OuFs=",
"path": "github.com/hashicorp/hil", "path": "github.com/hashicorp/hil",
"revision": "ce4ab742a9dd2bb6e55050337333b2c56666e5a0", "revision": "a69e0a85dd050184c00f6080fce138f2dadb1a4c",
"revisionTime": "2016-10-27T15:25:34Z" "revisionTime": "2016-11-11T01:09:07Z"
}, },
{ {
"checksumSHA1": "FFroNUb6Nn6xUQJMsVDTb4Cqzo4=", "checksumSHA1": "FFroNUb6Nn6xUQJMsVDTb4Cqzo4=",
@ -1880,7 +1880,6 @@
}, },
{ {
"checksumSHA1": "DVXnx4zyb0wkeIdIRjwjvR7Dslo=", "checksumSHA1": "DVXnx4zyb0wkeIdIRjwjvR7Dslo=",
"origin": "github.com/hashicorp/terraform/vendor/github.com/mitchellh/go-ps",
"path": "github.com/mitchellh/go-ps", "path": "github.com/mitchellh/go-ps",
"revision": "e2d21980687ce16e58469d98dcee92d27fbbd7fb", "revision": "e2d21980687ce16e58469d98dcee92d27fbbd7fb",
"revisionTime": "2016-08-22T16:54:47Z" "revisionTime": "2016-08-22T16:54:47Z"