From 5d4ef40938219f8cd0edb9a4343a08c522d49613 Mon Sep 17 00:00:00 2001 From: ItsNik Date: Wed, 29 Jan 2025 19:02:55 +0100 Subject: [PATCH] CI/CD: Remove ToDo --- src/controllers/fetchData.ts | 1 - src/handlers/graph.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/controllers/fetchData.ts b/src/controllers/fetchData.ts index 314e33a..2f43e36 100644 --- a/src/controllers/fetchData.ts +++ b/src/controllers/fetchData.ts @@ -63,7 +63,6 @@ const fetchData = async (): Promise => { if (JSON.stringify(previousState) !== JSON.stringify(containerStatus)) { atomicWrite(filePath, JSON.stringify(containerStatus, null, 2)); logger.info(`Container states saved to ${filePath}`); - // TODO: Add logic + notification levels per service } else { logger.info("No state change detected, notifications not triggered."); } diff --git a/src/handlers/graph.ts b/src/handlers/graph.ts index 0cf325b..da519d6 100644 --- a/src/handlers/graph.ts +++ b/src/handlers/graph.ts @@ -70,7 +70,6 @@ async function generateGraphFiles( for (const [hostName, containers] of Object.entries(allContainerData)) { if ("error" in containers) { - // TODO: make error'ed hosts better graphElements.push({ data: { id: hostName,