vm management

This commit is contained in:
Mateusz Gruszczyński
2025-10-17 16:10:04 +02:00
parent 600467061c
commit 2e988265b4

View File

@@ -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';