sudo87 commented on code in PR #305:
URL:
https://github.com/apache/cloudstack-terraform-provider/pull/305#discussion_r3801261974
##########
cloudstack/resource_cloudstack_host.go:
##########
@@ -224,12 +233,13 @@ func resourceCloudStackHostRead(d *schema.ResourceData,
meta interface{}) error
d.SetId(h.Id)
fields := map[string]interface{}{
- "hypervisor": h.Hypervisor,
- "pod_id": h.Podid,
- "zone_id": h.Zoneid,
- "state": h.State,
- "resource_state": h.Resourcestate,
- "name": h.Name,
+ "hypervisor": h.Hypervisor,
+ "pod_id": h.Podid,
+ "zone_id": h.Zoneid,
+ "state": h.State,
+ "resource_state": h.Resourcestate,
+ "allocation_state": h.Resourcestate,
Review Comment:
"resource_state" and "allocation_state" both are set as h.Resourcestate
confirm if this is correct?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]