mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-13 09:24:56 +00:00
fix: replace all instances of mysql credentials
This commit is contained in:
committed by
Silthus
parent
2a3aa294c2
commit
dc2103b3a2
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user