From 888f5f8bb668575edd74f8c61658aa3d9fcb82a6 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 16 Jan 2026 17:06:16 -0800 Subject: [PATCH] Dont terminate on archive --- Dockerfile | 2 ++ server/routers/client/archiveClient.ts | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d0a0f68..07371f77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,6 +77,8 @@ COPY ./cli/wrapper.sh /usr/local/bin/pangctl RUN chmod +x /usr/local/bin/pangctl ./dist/cli.mjs COPY server/db/names.json ./dist/names.json +COPY server/db/ios_models.json ./dist/ios_models.json +COPY server/db/mac_models.json ./dist/mac_models.json COPY public ./public # OCI Image Labels diff --git a/server/routers/client/archiveClient.ts b/server/routers/client/archiveClient.ts index 5b1d65df..621a0acf 100644 --- a/server/routers/client/archiveClient.ts +++ b/server/routers/client/archiveClient.ts @@ -80,11 +80,6 @@ export async function archiveClient( // Rebuild associations to clean up related data await rebuildClientAssociationsFromClient(client, trx); - - // Send terminate signal if there's an associated OLM - if (client.olmId) { - await sendTerminateClient(client.clientId, OlmErrorCodes.TERMINATED_ARCHIVED, "Archived", client.olmId); - } }); return response(res, {