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']) {
|
||||
if (st[k] !== undefined) lines.push(`${k}: ${st[k]}`);
|
||||
}
|
||||
log.textContent = lines.join('
|
||||
') || '—';
|
||||
log.textContent = lines.join('\n') || '—';
|
||||
}, async (finalSt) => {
|
||||
const exit = (finalSt && finalSt.exitstatus) ? String(finalSt.exitstatus) : '';
|
||||
const ok = exit.toUpperCase() === 'OK';
|
||||
|
Reference in New Issue
Block a user