mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 13:21:11 +00:00
remove unused code
This commit is contained in:
@@ -73,12 +73,6 @@ export const setupMonitoring = async (serverId: string) => {
|
||||
const serviceName = "dokploy-monitoring";
|
||||
const imageName = getMonitoringImage();
|
||||
|
||||
// No swarm on build servers: clean up the legacy container, deploy nothing.
|
||||
if (server.serverType === "build") {
|
||||
await removeLegacyContainer(await getRemoteDocker(serverId), serviceName);
|
||||
return;
|
||||
}
|
||||
|
||||
const settings: CreateServiceOptions = {
|
||||
Name: serviceName,
|
||||
TaskTemplate: {
|
||||
|
||||
Reference in New Issue
Block a user