fix: use method to get log level config

This commit is contained in:
Michael Reichenbach 2021-03-09 11:37:18 +01:00 committed by Silthus
parent b0259512cc
commit a4798c498b

View file

@ -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 [