davidjumani commented on pull request #21: URL: https://github.com/apache/cloudstack-go/pull/21#issuecomment-979814465
The input json isn't the error, it's the new type. The Managementserverid used to be a string and with this patch is now a CSLong. So trying to use the new type where a string used to be causes the error ``` var msID string ............... resp, err := cs.Host.ListHostsMetrics() msID = resp.HostsMetrics[1].Managementserverid <- resp.HostsMetrics[1].Managementserverid (type cloudstack.CSLong) as type string in assignment ``` -- 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