From 6d5671dd0e2b051e6f4e19660a3e61eb1b9c4ed1 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 1 Jul 2025 15:21:53 +0200 Subject: [PATCH] typo --- src/metrics.js | 2 +- src/updater.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/metrics.js b/src/metrics.js index b4cb8602a..13c920e8d 100644 --- a/src/metrics.js +++ b/src/metrics.js @@ -305,7 +305,7 @@ async function getSystemStream(options) { intervalId = setInterval(async () => { const [memoryResult, cpuResult] = await Promise.allSettled([ readMemoryMetrics(), readCpuMetrics() ]); // never throws - if (memoryResult.status !== 'fulfilled' || cpuMetrics.status !== 'fulfilled') return metricsStream.destroy(memoryResult.reason || cpuMetrics.reason); + if (memoryResult.status !== 'fulfilled' || cpuResult.status !== 'fulfilled') return metricsStream.destroy(memoryResult.reason || cpuResult.reason); const memoryMetrics = memoryResult.value; const cpuMetrics = cpuResult.value; diff --git a/src/updater.js b/src/updater.js index 88184f919..26b199221 100644 --- a/src/updater.js +++ b/src/updater.js @@ -350,7 +350,7 @@ async function checkForUpdates(options) { // check app updates const result = await apps.list(); for (const app of result) { - await safe(checkAppUpdate(app), { debug }); + await safe(checkAppUpdate(app, options), { debug }); } // raise notifications here because the updatechecker runs regardless of auto-updater cron job