vm management
This commit is contained in:
@@ -729,8 +729,7 @@ async function renderVMAdmin() {
|
|||||||
for (const k of ['type', 'status', 'pid', 'starttime', 'user', 'node', 'endtime', 'exitstatus']) {
|
for (const k of ['type', 'status', 'pid', 'starttime', 'user', 'node', 'endtime', 'exitstatus']) {
|
||||||
if (st[k] !== undefined) lines.push(`${k}: ${st[k]}`);
|
if (st[k] !== undefined) lines.push(`${k}: ${st[k]}`);
|
||||||
}
|
}
|
||||||
log.textContent = lines.join('
|
log.textContent = lines.join('\n') || '—';
|
||||||
') || '—';
|
|
||||||
}, async (finalSt) => {
|
}, async (finalSt) => {
|
||||||
const exit = (finalSt && finalSt.exitstatus) ? String(finalSt.exitstatus) : '';
|
const exit = (finalSt && finalSt.exitstatus) ? String(finalSt.exitstatus) : '';
|
||||||
const ok = exit.toUpperCase() === 'OK';
|
const ok = exit.toUpperCase() === 'OK';
|
||||||
|
Reference in New Issue
Block a user