diff options
author | ramon <ramongomez@us.es> | 2017-04-04 09:22:41 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-04-04 09:22:41 +0000 |
commit | d57fcbc93ff4e59f1921dcc0e6b6ace992f3702d (patch) | |
tree | d9b66432db14529cbc9393df213d1e7485f5d410 /admin/WebConsole/rest/server.php | |
parent | a7390604b1d9cc7a20e902cb75fac85f0fbc6c4f (diff) |
#718: Actualizar definiciĆ³n de la API REST.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5257 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/server.php')
-rw-r--r-- | admin/WebConsole/rest/server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/server.php b/admin/WebConsole/rest/server.php index d867a08c..c147d67d 100644 --- a/admin/WebConsole/rest/server.php +++ b/admin/WebConsole/rest/server.php @@ -73,7 +73,7 @@ function getStatus($ouid, $labid, $clntid=0) { // Status mapping. $status = Array('OFF'=>"off", 'INI'=>"initializing", - 'OPG'=>"ogclient", + 'OPG'=>"oglive", 'BSY'=>"busy", 'LNX'=>"linux", 'OSX'=>"macos", @@ -740,6 +740,7 @@ EOD; $response['name'] = $rs->campos["nombreordenador"]; $response['diskcfg'] = Array(); while (!$rs->EOF) { + // Skip header. if ($rs->campos["numdisk"] == 0) { $rs->Siguiente(); continue; |