mirror of https://git.48k.eu/ogclient
When restore image command was sent and the restoration failed, you could see in WebConsole the image as restored and the command completed, as it if had not failed. This happened because ogClient did not check the return code of restoration script. This commit adds return code check on restore image. So, when return code is a non-zero value ogClient responses with an error 500. When ogServer receives this error response, it did not set in the database the image as restored and command as completed without errors. |
||
---|---|---|
.. | ||
linux | ||
virtual | ||
__init__.py | ||
ogClient.py | ||
ogRest.py | ||
restRequest.py |