mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-19 22:25:22 +02: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