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.
This commit is contained in:
parent
618463aa79
commit
6b2febac15
@ -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
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user