ServerHardware #GetServerHardwareList Issues
jsmartt opened this issue · comments
Jared Smartt commented
In ServerHardware #GetServerHardwareList, I think there are a few issues:
- The REST here call doesn't handle errors
- This section doesn't appear to do anything useful (does it?). Maybe it was left in after a refactor?
- Unmarshalling the data doesn't set the Client property, so many subsequent calls on the objects returned (e.g.
PowerOff()
) will fail unless you set the Client property manually.
Venkatesh Ravula commented
The fix for this issue is provided in #137.
Closing this issue now. Feel free to reopen if the issue still exists.