From dc2103b3a282735622d4e7a4d0d7133b296f79bf Mon Sep 17 00:00:00 2001 From: Michael Reichenbach Date: Mon, 8 Mar 2021 15:32:05 +0100 Subject: [PATCH] fix: replace all instances of mysql credentials --- src/restic_compose_backup/containers_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/restic_compose_backup/containers_db.py b/src/restic_compose_backup/containers_db.py index d6c35e4..39cb4f4 100644 --- a/src/restic_compose_backup/containers_db.py +++ b/src/restic_compose_backup/containers_db.py @@ -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'],