mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 17:58:07 +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"""
|
"""Check the availability of the service"""
|
||||||
creds = self.get_credentials()
|
creds = self.get_credentials()
|
||||||
|
|
||||||
with utils.environment('MYSQL_PWD', creds['password']):
|
with utils.environment('BACKUP_MYSQL_PASSWORD', creds['password']):
|
||||||
return commands.ping_mariadb(
|
return commands.ping_mariadb(
|
||||||
creds['host'],
|
creds['host'],
|
||||||
creds['port'],
|
creds['port'],
|
||||||
@@ -99,7 +99,7 @@ class MysqlContainer(Container):
|
|||||||
"""Check the availability of the service"""
|
"""Check the availability of the service"""
|
||||||
creds = self.get_credentials()
|
creds = self.get_credentials()
|
||||||
|
|
||||||
with utils.environment('MYSQL_PWD', creds['password']):
|
with utils.environment('BACKUP_MYSQL_PASSWORD', creds['password']):
|
||||||
return commands.ping_mysql(
|
return commands.ping_mysql(
|
||||||
creds['host'],
|
creds['host'],
|
||||||
creds['port'],
|
creds['port'],
|
||||||
|
|||||||
Reference in New Issue
Block a user