csquire opened a new issue #4: URL: https://github.com/apache/cloudstack-go/issues/4
When running against Cloudstack 4.15 with the latest code, the cpuloadaverage and hostha fields in the response types within HostService have the wrong types causing the client to fail at parsing responses from the Cloudstack API. The cpuloadaverage field defaults to string but needs to be a float64 (missing handling of double in the `mapType` function of generate.go). The hostha field defaults to string but needs to be a custom HostHAResponse type. The cpuloadaverage is easy to fix, but I don't immediately understand how the custom field type generation works in order to implement a fix for it. -- 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: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org