You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement resourceiconresponse as interface{} (#45)
All "icon" fields are set to be of resourceiconresponse type, however that type is not defined anywhere, making the icon field resolving to a string.
This isn't correct as ACS returns the Icon as an object, which in term causes these types of error:
"json: cannot unmarshal object into Go struct field VirtualMachinesMetric.virtualmachine.icon of type string"
This change sets the type of resourceiconresponse type to be an empty interface{}, to guarantee some backward compatibility and ensure that the unmarshalling works as intended.
Tested againt ACS 4.17.1
0 commit comments