mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-11 08:55:22 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -447,10 +447,7 @@ export const containerStart = async (
|
||||
}
|
||||
};
|
||||
|
||||
export const containerStop = async (
|
||||
containerId: string,
|
||||
serverId?: string,
|
||||
) => {
|
||||
export const containerStop = async (containerId: string, serverId?: string) => {
|
||||
const command = `docker container stop ${containerId}`;
|
||||
const { stderr } = serverId
|
||||
? await execAsyncRemote(serverId, command)
|
||||
@@ -462,10 +459,7 @@ export const containerStop = async (
|
||||
}
|
||||
};
|
||||
|
||||
export const containerKill = async (
|
||||
containerId: string,
|
||||
serverId?: string,
|
||||
) => {
|
||||
export const containerKill = async (containerId: string, serverId?: string) => {
|
||||
const command = `docker container kill ${containerId}`;
|
||||
const { stderr } = serverId
|
||||
? await execAsyncRemote(serverId, command)
|
||||
|
||||
Reference in New Issue
Block a user