From 6b2febac15daf3ccfe6d635da88a0b3a86cc6721 Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Mon, 22 Jul 2019 14:49:22 -0500 Subject: Remove incorrect quotes around types in examples (#119) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When I tried a spec with quoted types, I got this error: `A type is required, not string.` Later in the document, the types don’t have quotes, so I figured that’s what’s expected. --- cmd/hcldec/spec-format.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cmd') diff --git a/cmd/hcldec/spec-format.md b/cmd/hcldec/spec-format.md index e26e10f..16c7b7b 100644 --- a/cmd/hcldec/spec-format.md +++ b/cmd/hcldec/spec-format.md @@ -41,12 +41,12 @@ spec blocks: ```hcl object { attr "name" { - type = "string" + type = string } block "address" { object { attr "street" { - type = "string" + type = string } # ... } @@ -73,11 +73,11 @@ any nested spec blocks: array { attr { name = "first_element" - type = "string" + type = string } attr { name = "second_element" - type = "string" + type = string } } ``` -- cgit v1.2.3