Update src/command/impl/removeCommand.py
All checks were successful
Publish Docker Image / docker (push) Successful in 2m27s

This commit is contained in:
Lee 2024-09-14 23:36:29 +00:00
parent 019261a988
commit 89da5d6c0d

@ -1,7 +1,6 @@
from colorama import Fore from colorama import Fore
from command.command import Command from command.command import Command
from traefik.traefikConfig import TraefikConfig from traefik.traefikConfig import TraefikConfig
from utils.dockerUtils import restartTraefik
class RemoveCommand(Command): class RemoveCommand(Command):
def __init__(self): def __init__(self):
@ -23,5 +22,3 @@ class RemoveCommand(Command):
traefikConfig.removeRouter(name) traefikConfig.removeRouter(name)
traefikConfig.save() traefikConfig.save()
restartTraefik()