TODO note about making resistry in the future
This commit is contained in:
parent
bd97e903e3
commit
34534d0d35
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class Container:
|
||||||
@property
|
@property
|
||||||
def instance(self) -> 'Container':
|
def instance(self) -> 'Container':
|
||||||
"""Container: Get a service specific subclass instance"""
|
"""Container: Get a service specific subclass instance"""
|
||||||
|
# TODO: Do this smarter in the future (simple registry)
|
||||||
if self.database_backup_enabled:
|
if self.database_backup_enabled:
|
||||||
from restic_volume_backup import containers_db
|
from restic_volume_backup import containers_db
|
||||||
if self.mariadb_backup_enabled:
|
if self.mariadb_backup_enabled:
|
||||||
|
|
Loading…
Add table
Reference in a new issue