Go to file
Javier Sánchez Parra 8082efd6de #924 Always check the result of a command to avoid errors
Irina reports that if you try to restore an image without success
(for example: the disk does not have enough space), the database changes
as if no error would happen. So you see the computer in the WebConsole
with an image/OS that, actually, does not have.

The bug is caused because the function respuestaEstandar only checks
the result of a command if it has a session. So the problem is that the
commands which use respuestaEstandar without a session can return an
error, but the ogAdmServer always works as no error would occur.

This commit changes the behaviour of respuestaEstadar to always check
the result of a command, whether it has a session or not.
2019-11-04 15:09:04 +01:00
sources #924 Always check the result of a command to avoid errors 2019-11-04 15:09:04 +01:00
tests #915 Add test for POST /run/schedule REST API 2019-10-31 13:18:48 +01:00
Makefile #915 add initial REST API for ogAdmServer 2019-05-27 13:02:37 +02:00
ogAdmServer.cfg #915 update installer to add APITOKEN= to ogAdmServer.cfg 2019-06-24 13:46:10 +02:00