diff options
| author | Buck Doyle <buck@hashicorp.com> | 2019-07-22 14:49:22 -0500 |
|---|---|---|
| committer | Pam Selle <pam@hashicorp.com> | 2019-07-22 15:49:22 -0400 |
| commit | 6b2febac15daf3ccfe6d635da88a0b3a86cc6721 (patch) | |
| tree | ff17e8ffcfa163f8e01c41dc293e4d390dcdf154 /cmd | |
| parent | 618463aa79585804de2d5bb43032a43ab008cba3 (diff) | |
Remove incorrect quotes around types in examples (#119)
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.
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hcldec/spec-format.md | 8 |
1 files changed, 4 insertions, 4 deletions
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 } } ``` |
