fix: cleanup function

This commit is contained in:
Andras Bacsai
2023-01-20 09:26:48 +01:00
parent 9101ef8774
commit 8b57a2b055
4 changed files with 18 additions and 70 deletions

View File

@@ -591,6 +591,8 @@ async function cleanupStorage() {
}
}
} catch (error) {}
await cleanupDockerStorage(destination.id, lowDiskSpace, force);
if (lowDiskSpace) {
await cleanupDockerStorage(destination.id);
}
}
}