mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: remove delete volumes
This commit is contained in:
@@ -241,13 +241,7 @@ export const removeService = async (
|
||||
deleteVolumes = false,
|
||||
) => {
|
||||
try {
|
||||
let command: string;
|
||||
|
||||
if (deleteVolumes) {
|
||||
command = `docker service rm --force ${appName}`;
|
||||
} else {
|
||||
command = `docker service rm ${appName}`;
|
||||
}
|
||||
const command = `docker service rm ${appName}`;
|
||||
|
||||
if (serverId) {
|
||||
await execAsyncRemote(serverId, command);
|
||||
|
||||
Reference in New Issue
Block a user