I noticed that enabling remote access in the API (VNC console in the control panel) seems to completely break JSON serialization for server details, and instead of an error, only an empty struct is returned. Following example works well when remote access is disabled, but enabling it causes the JSON serialization to fail.
I looked at the relevant code and error from json.Unmarshal is left unhandled. Thus, no error is returned to the code utilizing GetServerDetails when serialization fails.
Besides this problem, the upgraded API bindings seem amazing and it's been working perfectly for me. Thank you!
Hi there,
I noticed that enabling remote access in the API (VNC console in the control panel) seems to completely break JSON serialization for server details, and instead of an error, only an empty struct is returned. Following example works well when remote access is disabled, but enabling it causes the JSON serialization to fail.
I looked at the relevant code and error from json.Unmarshal is left unhandled. Thus, no error is returned to the code utilizing GetServerDetails when serialization fails.
Besides this problem, the upgraded API bindings seem amazing and it's been working perfectly for me. Thank you!