mirror of
https://github.com/simon987/sist2.git
synced 2025-12-12 06:58:54 +00:00
sist2-admin: don't set status to failed when using debug binary
This commit is contained in:
@@ -134,7 +134,7 @@ export default {
|
||||
duration: this.taskDuration(row),
|
||||
time: moment.utc(row.started).local().format("dd, MMM Do YYYY, HH:mm:ss"),
|
||||
logs: null,
|
||||
status: row.return_code === 0 ? "ok" : "failed",
|
||||
status: [0,1].includes(row.return_code) ? "ok" : "failed",
|
||||
_row: row
|
||||
}));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user