ogclient/src
Javier Sánchez Parra ffbcf7ebba Check return code on restore image command
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.
2020-06-23 13:42:39 +02:00
..
linux Check return code on restore image command 2020-06-23 13:42:39 +02:00
virtual Refresh partitions.json after image restore 2020-05-29 13:29:16 +02:00
__init__.py Include License header 2020-01-19 19:50:44 +01:00
ogClient.py Rename 'linux' mode to 'live' mode 2020-06-05 14:55:10 +02:00
ogRest.py Import OgLinuxOperations only when necessary 2020-06-08 14:26:35 +02:00
restRequest.py rename getURI to get_uri in restRequest 2020-03-09 18:10:57 +01:00