Merge pull request #7252 from hashicorp/update-hcl

deps: Update github.com/hashicorp/hcl/...
This commit is contained in:
James Nugent 2016-06-21 10:47:14 +02:00 committed by GitHub
commit 6c13ec8b41
2 changed files with 28 additions and 23 deletions

View File

@ -152,6 +152,11 @@ func (t Token) Value() interface{} {
f = strconv.Unquote
}
// This case occurs if json null is used
if t.Text == "" {
return ""
}
v, err := f(t.Text)
if err != nil {
panic(fmt.Sprintf("unquote %s err: %s", t.Text, err))

46
vendor/vendor.json vendored
View File

@ -772,68 +772,68 @@
{
"checksumSHA1": "5LrCq/ydlbL6pq1cdmuxiw7QV98=",
"path": "github.com/hashicorp/hcl",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "WP5ODRo9+USuAsKYPu5RW3q8Epg=",
"path": "github.com/hashicorp/hcl/hcl/ast",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "z03dif8bqgQ3Zk/1RGbvfgBXMXo=",
"path": "github.com/hashicorp/hcl/hcl/fmtcmd",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "SVw0qm83Anf5T2GkYabn+f7Ibv0=",
"path": "github.com/hashicorp/hcl/hcl/parser",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "CSmwxPOTz7GSpnWPF9aGkbVeR64=",
"path": "github.com/hashicorp/hcl/hcl/printer",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "WZM0q7Sya8PcGj607x1npgcEPa4=",
"path": "github.com/hashicorp/hcl/hcl/scanner",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "riN5acfVDm4j6LhWXauqiWH5n84=",
"path": "github.com/hashicorp/hcl/hcl/strconv",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "VGNVyGYDGTTCTRqGH5R+CL0u6xw=",
"checksumSHA1": "c6yprzj06ASwCo18TtbbNNBHljA=",
"path": "github.com/hashicorp/hcl/hcl/token",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "uEaK2zagnGctsUmjWt8ZYmK1Yvs=",
"path": "github.com/hashicorp/hcl/json/parser",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "S1e0F9ZKSnqgOLfjDTYazRL28tA=",
"path": "github.com/hashicorp/hcl/json/scanner",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "fNlXQCQEnb+B3k5UDL/r15xtSJY=",
"path": "github.com/hashicorp/hcl/json/token",
"revision": "aa7699b7b62c5f410f4cf7b58f3f9b17a71fb4ad",
"revisionTime": "2016-06-16T21:00:17Z"
"revision": "da486364306ed66c218be9b7953e19173447c18b",
"revisionTime": "2016-06-20T17:04:52Z"
},
{
"checksumSHA1": "vWW3HXm7OTOMISuZPcCSJODRYkU=",