More command cleanup

This commit is contained in:
einarf
2023-03-09 01:42:27 +01:00
parent 01ae6ee0bf
commit 70afcd2c6a
6 changed files with 165 additions and 198 deletions

View File

@@ -17,7 +17,9 @@ class BaseCommand:
def get_containers(self):
"""Get running containers"""
return RunningContainers()
containers = RunningContainers()
containers.this_container.set_config_env('LOG_LEVEL', self.log_level)
return containers
def run(self):
"""Run the command"""