mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 11:01:31 +00:00
Remove ambigous API for log reading (actions always reply with logs included)
This commit is contained in:
parent
bfd1efa9f9
commit
6489e4452e
@ -15,9 +15,7 @@ class ProcessManager(SupervisorMixin):
|
||||
def __init__(self):
|
||||
self.commands = {'start': self.start_process,
|
||||
'stop': self.stop_process,
|
||||
'restart': self.restart_process,
|
||||
'readlog': self.read_log_stdout,
|
||||
'readerrlog': self.read_log_stderr}
|
||||
'restart': self.restart_process}
|
||||
|
||||
def __call__(self, command, process_name):
|
||||
return self.commands[command](process_name)
|
||||
|
Loading…
Reference in New Issue
Block a user