mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-01 20:15:29 +02:00
refactor(settings): remove unused cleanupFullDocker function and streamline imports
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { readdirSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
import { docker } from "@dokploy/server/constants";
|
||||
import { cleanupAll } from "@dokploy/server/utils/docker/utils";
|
||||
import {
|
||||
execAsync,
|
||||
execAsyncRemote,
|
||||
@@ -10,7 +11,6 @@ import {
|
||||
initializeTraefikService,
|
||||
type TraefikOptions,
|
||||
} from "../setup/traefik-setup";
|
||||
import { cleanupAll } from "@dokploy/server/utils/docker/utils";
|
||||
|
||||
export interface IUpdateData {
|
||||
latestVersion: string | null;
|
||||
@@ -216,14 +216,6 @@ echo "$json_output"
|
||||
return result;
|
||||
};
|
||||
|
||||
/**
|
||||
* This function is not currently used anywhere, but it remains here because removing it would be risky.
|
||||
*
|
||||
* https://github.com/Dokploy/dokploy/pull/3064
|
||||
* https://github.com/fir4tozden
|
||||
*/
|
||||
export const cleanupFullDocker = cleanupAll;
|
||||
|
||||
export const getDockerResourceType = async (
|
||||
resourceName: string,
|
||||
serverId?: string,
|
||||
|
||||
Reference in New Issue
Block a user