From f55b8618495f951b2584a0de0eb0482e9abe3206 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 9 Dec 2022 14:32:22 +0100 Subject: [PATCH] fix: cleanup --- apps/api/src/lib/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index 70173a31e..52ab2031c 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -1652,7 +1652,7 @@ export async function cleanupDockerStorage(dockerId, lowDiskSpace, force) { const { numberOfDockerImagesKeptLocally } = await prisma.setting.findUnique({ where: { id: '0' } }) const { stdout: images } = await executeCommand({ dockerId, - command: `docker images | grep -v "" | grep -v REPOSITORY | awk '{print $1, $2}'`, + command: `docker images|grep -v ""|grep -v REPOSITORY|awk '{print $1, $2}'`, shell: true }); const imagesArray = images.trim().replaceAll(' ', ':').split('\n');