Update src/command/impl/removeCommand.py
All checks were successful
Publish Docker Image / docker (push) Successful in 2m27s
All checks were successful
Publish Docker Image / docker (push) Successful in 2m27s
This commit is contained in:
parent
019261a988
commit
89da5d6c0d
@ -1,7 +1,6 @@
|
||||
from colorama import Fore
|
||||
from command.command import Command
|
||||
from traefik.traefikConfig import TraefikConfig
|
||||
from utils.dockerUtils import restartTraefik
|
||||
|
||||
class RemoveCommand(Command):
|
||||
def __init__(self):
|
||||
@ -22,6 +21,4 @@ class RemoveCommand(Command):
|
||||
|
||||
traefikConfig.removeRouter(name)
|
||||
|
||||
traefikConfig.save()
|
||||
|
||||
restartTraefik()
|
||||
traefikConfig.save()
|
Loading…
x
Reference in New Issue
Block a user