Skip to content

Commit

Permalink
B #470: fix templates doc
Browse files Browse the repository at this point in the history
  • Loading branch information
treywelsh committed Jul 18, 2023
1 parent 8cc04f0 commit f769e50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opennebula/data_opennebula_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func dataOpennebulaTemplates() *schema.Resource {
"order": {
Type: schema.TypeString,
Optional: true,
Description: "Ordering of the sort: asc or desc",
Description: "Ordering of the sort: ASC or DESC",
},
"templates": {
Type: schema.TypeList,
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/templates.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data "opennebula_templates" "example" {
name_regex = "test.*"
has_cpu = true
sort_on = "register_date"
sort_on = "ASC"
order = "ASC"
}
```

Expand All @@ -32,7 +32,7 @@ data "opennebula_templates" "example" {
* `has_memory` - (Optional) Indicate if a memory value has been defined.
* `memory` - (Optional) Amount of RAM assigned to the VM in MB.
* `tags` - (Optional) Template tags (Key = Value).
* `order` - (Optional) Ordering of the sort: asc or desc.
* `order` - (Optional) Ordering of the sort: ASC or DESC.

## Attribute Reference

Expand Down

0 comments on commit f769e50

Please sign in to comment.