Remove stale backup process containers

This commit is contained in:
Einar Forselv
2019-12-08 00:57:23 +01:00
parent 5082244949
commit 8097ac79af
4 changed files with 32 additions and 5 deletions

View File

@@ -66,6 +66,9 @@ class Container:
"""All configured env vars for the container as a list"""
return self.get_config('Env')
def remove(self):
self._data.remove()
def get_config_env(self, name) -> str:
"""Get a config environment variable by name"""
# convert to dict and fetch env var by name