You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/08/19 18:00:26 UTC

[GitHub] [cloudstack-go] csquire opened a new issue #4: HostService response types are broken

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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-go] rhtyd closed issue #4: HostService response types are broken

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #4:
URL: https://github.com/apache/cloudstack-go/issues/4


   


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org