Merge pull request #10005 from hashicorp/update-hcl

vendor: update HCL
This commit is contained in:
Mitchell Hashimoto 2016-11-09 14:56:13 -08:00 committed by GitHub
commit a98e88d385
2 changed files with 24 additions and 24 deletions

View File

@ -288,7 +288,7 @@ func (p *printer) objectType(o *ast.ObjectType) []byte {
buf.WriteByte(newline) buf.WriteByte(newline)
} }
buf.Write(p.indent([]byte(comment.Text))) buf.Write(p.indent(p.heredocIndent([]byte(comment.Text))))
buf.WriteByte(newline) buf.WriteByte(newline)
if index != len(o.List.Items) { if index != len(o.List.Items) {
buf.WriteByte(newline) // do not print on the end buf.WriteByte(newline) // do not print on the end

46
vendor/vendor.json vendored
View File

@ -1322,68 +1322,68 @@
{ {
"checksumSHA1": "8OPDk+bKyRGJoKcS4QNw9F7dpE8=", "checksumSHA1": "8OPDk+bKyRGJoKcS4QNw9F7dpE8=",
"path": "github.com/hashicorp/hcl", "path": "github.com/hashicorp/hcl",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "XQmjDva9JCGGkIecOgwtBEMCJhU=", "checksumSHA1": "XQmjDva9JCGGkIecOgwtBEMCJhU=",
"path": "github.com/hashicorp/hcl/hcl/ast", "path": "github.com/hashicorp/hcl/hcl/ast",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "5HVecyfmcTm6OTffEi6LGayQf5M=", "checksumSHA1": "5HVecyfmcTm6OTffEi6LGayQf5M=",
"path": "github.com/hashicorp/hcl/hcl/fmtcmd", "path": "github.com/hashicorp/hcl/hcl/fmtcmd",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "croNloscHsjX87X+4/cKOURf1EY=", "checksumSHA1": "croNloscHsjX87X+4/cKOURf1EY=",
"path": "github.com/hashicorp/hcl/hcl/parser", "path": "github.com/hashicorp/hcl/hcl/parser",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "bUeqPVCXaK3aY54XhZ2D3FrsbWo=", "checksumSHA1": "1k1PQRPdYEjeTbXsYz5ZP+Won1w=",
"path": "github.com/hashicorp/hcl/hcl/printer", "path": "github.com/hashicorp/hcl/hcl/printer",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "lgR7PSAZ0RtvAc9OCtCnNsF/x8g=", "checksumSHA1": "lgR7PSAZ0RtvAc9OCtCnNsF/x8g=",
"path": "github.com/hashicorp/hcl/hcl/scanner", "path": "github.com/hashicorp/hcl/hcl/scanner",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "/e0ULfQnGeUKiM1+iMnQhImo62k=", "checksumSHA1": "/e0ULfQnGeUKiM1+iMnQhImo62k=",
"path": "github.com/hashicorp/hcl/hcl/strconv", "path": "github.com/hashicorp/hcl/hcl/strconv",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "c6yprzj06ASwCo18TtbbNNBHljA=", "checksumSHA1": "c6yprzj06ASwCo18TtbbNNBHljA=",
"path": "github.com/hashicorp/hcl/hcl/token", "path": "github.com/hashicorp/hcl/hcl/token",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "138aCV5n8n7tkGYMsMVQQnnLq+0=", "checksumSHA1": "138aCV5n8n7tkGYMsMVQQnnLq+0=",
"path": "github.com/hashicorp/hcl/json/parser", "path": "github.com/hashicorp/hcl/json/parser",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "YdvFsNOMSWMLnY6fcliWQa0O5Fw=", "checksumSHA1": "YdvFsNOMSWMLnY6fcliWQa0O5Fw=",
"path": "github.com/hashicorp/hcl/json/scanner", "path": "github.com/hashicorp/hcl/json/scanner",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "fNlXQCQEnb+B3k5UDL/r15xtSJY=", "checksumSHA1": "fNlXQCQEnb+B3k5UDL/r15xtSJY=",
"path": "github.com/hashicorp/hcl/json/token", "path": "github.com/hashicorp/hcl/json/token",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4", "revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T00:00:27Z" "revisionTime": "2016-11-09T22:51:35Z"
}, },
{ {
"checksumSHA1": "mZhRldYjh9MAXzdi3zihMX0A/JU=", "checksumSHA1": "mZhRldYjh9MAXzdi3zihMX0A/JU=",