From d94ecc9a262d2ca11e235a24182ab071d6580504 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 13 Mar 2023 13:26:05 +0100 Subject: [PATCH] Fix up container name --- templates/mariadb_backup/find_disabled_sharing.erb.sh | 2 +- templates/mariadb_backup/status-test.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/mariadb_backup/find_disabled_sharing.erb.sh b/templates/mariadb_backup/find_disabled_sharing.erb.sh index df6acfb..e5b6336 100644 --- a/templates/mariadb_backup/find_disabled_sharing.erb.sh +++ b/templates/mariadb_backup/find_disabled_sharing.erb.sh @@ -3,7 +3,7 @@ container=${1} customer=${2} if [[ -z ${container} ]]; then - container='mariadbbackup_mariadb_backup_1' + container='mariadb_backup_mariadb_backup_1' fi if [[ -z ${customer} ]]; then location='<%= @location %>' diff --git a/templates/mariadb_backup/status-test.erb b/templates/mariadb_backup/status-test.erb index c90da90..50900f8 100644 --- a/templates/mariadb_backup/status-test.erb +++ b/templates/mariadb_backup/status-test.erb @@ -1,3 +1,3 @@ #!/bin/bash -docker exec mariadbbackup_mariadb_backup_1 mysql -u root -p'<%= @mysql_root_password %>' -N -B -e "show status like 'Slave_running'" +docker exec mariadb_backup_mariadb_backup_1 mysql -u root -p'<%= @mysql_root_password %>' -N -B -e "show status like 'Slave_running'"