mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 17:58:07 +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()
|
destination = self.backup_destination_path()
|
||||||
|
|
||||||
verbosity = 2
|
verbosity = 2
|
||||||
if self.get_config.log_level == 'debug':
|
if self.get_config('log_level') == 'debug':
|
||||||
verbosity = 3
|
verbosity = 3
|
||||||
|
|
||||||
return [
|
return [
|
||||||
@@ -120,7 +120,7 @@ class MysqlContainer(Container):
|
|||||||
destination = self.backup_destination_path()
|
destination = self.backup_destination_path()
|
||||||
|
|
||||||
verbosity = 2
|
verbosity = 2
|
||||||
if self.get_config.log_level == 'debug':
|
if self.get_config('log_level') == 'debug':
|
||||||
verbosity = 3
|
verbosity = 3
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user