fix: replace all instances of mysql credentials

This commit is contained in:
Michael Reichenbach 2021-03-08 15:32:05 +01:00 committed by Silthus
parent 2a3aa294c2
commit dc2103b3a2
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class MariadbContainer(Container):
"""Check the availability of the service"""
creds = self.get_credentials()
with utils.environment('MYSQL_PWD', creds['password']):
with utils.environment('BACKUP_MYSQL_PASSWORD', creds['password']):
return commands.ping_mariadb(
creds['host'],
creds['port'],
@ -99,7 +99,7 @@ class MysqlContainer(Container):
"""Check the availability of the service"""
creds = self.get_credentials()
with utils.environment('MYSQL_PWD', creds['password']):
with utils.environment('BACKUP_MYSQL_PASSWORD', creds['password']):
return commands.ping_mysql(
creds['host'],
creds['port'],