Skip to content

Commit

Permalink
Merge pull request #131 from Cloud-Temple/bugfix/125
Browse files Browse the repository at this point in the history
Fixed changes reverted
  • Loading branch information
KChapron authored Feb 8, 2024
2 parents a55bc30 + cd14111 commit 4d54bd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/compute_datastore.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ data "cloudtemple_compute_datastore" "name" {
- `hosts_names` (List of String)
- `hosts_number` (Number)
- `id` (String) The ID of this resource.
- `maintenance_status` (String)
- `maintenance_status` (Boolean)
- `max_capacity` (Number)
- `moref` (String)
- `type` (String)
Expand Down
2 changes: 1 addition & 1 deletion internal/client/compute_datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Datastore struct {
MaxCapacity int `terraform:"max_capacity"`
FreeCapacity int `terraform:"free_capacity"`
Accessible int `terraform:"accessible"`
MaintenanceStatus string `terraform:"maintenance_status"`
MaintenanceStatus bool `terraform:"maintenance_status"`
UniqueId string `terraform:"unique_id"`
MachineManagerId string `terraform:"machine_manager_id"`
Type string `terraform:"type"`
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_compute_datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func dataSourceDatastore() *schema.Resource {
Computed: true,
},
"maintenance_status": {
Type: schema.TypeString,
Type: schema.TypeBool,
Computed: true,
},
"unique_id": {
Expand Down

0 comments on commit 4d54bd5

Please sign in to comment.