mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-28 06:28:47 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -262,7 +262,9 @@ export const cleanupSystem = async (serverId?: string) => {
|
|||||||
*
|
*
|
||||||
* https://github.com/Dokploy/dokploy/pull/3266
|
* https://github.com/Dokploy/dokploy/pull/3266
|
||||||
*/
|
*/
|
||||||
const excludedCleanupAllCommands: (keyof typeof cleanupCommands)[] = ['volumes'];
|
const excludedCleanupAllCommands: (keyof typeof cleanupCommands)[] = [
|
||||||
|
"volumes",
|
||||||
|
];
|
||||||
|
|
||||||
export const cleanupAll = async (serverId?: string) => {
|
export const cleanupAll = async (serverId?: string) => {
|
||||||
for (const [key, command] of Object.entries(cleanupCommands)) {
|
for (const [key, command] of Object.entries(cleanupCommands)) {
|
||||||
@@ -290,7 +292,7 @@ export const cleanupAllBackground = async (serverId?: string) => {
|
|||||||
await execAsync(dockerSafeExec(command));
|
await execAsync(dockerSafeExec(command));
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})
|
}),
|
||||||
)
|
)
|
||||||
.then((results) => {
|
.then((results) => {
|
||||||
const failed = results.filter((r) => r.status === "rejected");
|
const failed = results.filter((r) => r.status === "rejected");
|
||||||
|
|||||||
Reference in New Issue
Block a user