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
|
```hcl
|
||||||
object {
|
object {
|
||||||
attr "name" {
|
attr "name" {
|
||||||
type = "string"
|
type = string
|
||||||
}
|
}
|
||||||
block "address" {
|
block "address" {
|
||||||
object {
|
object {
|
||||||
attr "street" {
|
attr "street" {
|
||||||
type = "string"
|
type = string
|
||||||
}
|
}
|
||||||
# ...
|
# ...
|
||||||
}
|
}
|
||||||
@ -73,11 +73,11 @@ any nested spec blocks:
|
|||||||
array {
|
array {
|
||||||
attr {
|
attr {
|
||||||
name = "first_element"
|
name = "first_element"
|
||||||
type = "string"
|
type = string
|
||||||
}
|
}
|
||||||
attr {
|
attr {
|
||||||
name = "second_element"
|
name = "second_element"
|
||||||
type = "string"
|
type = string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user