Skip to content

Commit 44920f9

Browse files
author
Pascal Klesse
committed
feat: refactor update script for traefik
1 parent d3536bb commit 44920f9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

projects/api/src/server/extern.controller.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,7 @@ export class ExternController {
293293
.filter((c: Container) => c.kind !== ContainerKind.DATABASE)
294294
.map(c => c.id);
295295

296-
const totalContainers = deployedContainerIds.length;
297-
298-
console.debug(`[Traefik Migration] Starting background migration for ${totalContainers} containers...`);
296+
console.debug(`[Traefik Migration] Starting background migration for ${deployedContainerIds.length} containers...`);
299297

300298
// Run migration in background (don't await)
301299
this.runMigrationInBackground(deployedContainerIds).catch(error => {
@@ -306,7 +304,7 @@ export class ExternController {
306304
return {
307305
success: true,
308306
message: 'Migration started in background',
309-
total: totalContainers,
307+
total: deployedContainerIds.length,
310308
note: 'Check server logs for progress. Migration may take several minutes.',
311309
};
312310
}

0 commit comments

Comments
 (0)