mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 09:52:21 +00:00
fix: use method to get log level config
This commit is contained in:
committed by
Silthus
parent
b0259512cc
commit
a4798c498b
@@ -38,7 +38,7 @@ class MariadbContainer(Container):
|
||||
destination = self.backup_destination_path()
|
||||
|
||||
verbosity = 2
|
||||
if self.get_config.log_level == 'debug':
|
||||
if self.get_config('log_level') == 'debug':
|
||||
verbosity = 3
|
||||
|
||||
return [
|
||||
@@ -120,7 +120,7 @@ class MysqlContainer(Container):
|
||||
destination = self.backup_destination_path()
|
||||
|
||||
verbosity = 2
|
||||
if self.get_config.log_level == 'debug':
|
||||
if self.get_config('log_level') == 'debug':
|
||||
verbosity = 3
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user