From 7903c55a0d488f93790f5e80105f5252b88f32af Mon Sep 17 00:00:00 2001 From: Avra Sengupta Date: Fri, 7 Feb 2014 06:04:23 +0000 Subject: gverify: Correcting variable names Change-Id: I851a50e0ebb7554b821fb591375bb6ebd6240ade BUG: 1036539 Signed-off-by: Avra Sengupta Reviewed-on: http://review.gluster.org/6939 Reviewed-by: Venky Shankar Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- geo-replication/src/gverify.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'geo-replication') diff --git a/geo-replication/src/gverify.sh b/geo-replication/src/gverify.sh index c9b7acb30..ef31f527a 100755 --- a/geo-replication/src/gverify.sh +++ b/geo-replication/src/gverify.sh @@ -128,12 +128,12 @@ function main() slave_version=$(echo $slave_data | cut -f3 -d':'); slave_no_of_files=$(echo $slave_data | cut -f4 -d':'); - if [[ "x$master_size" = "x" || "x$master_version" = "x" || "$master_size" -eq "0" ]]; then + if [[ "x$master_disk_size" = "x" || "x$master_version" = "x" || "$master_disk_size" -eq "0" ]]; then echo "FORCE_BLOCKER|Unable to fetch master volume details. Please check the master cluster and master volume." > $log_file; exit 1; fi; - if [[ "x$slave_size" = "x" || "x$slave_version" = "x" || "$slave_size" -eq "0" ]]; then + if [[ "x$slave_disk_size" = "x" || "x$slave_version" = "x" || "$slave_disk_size" -eq "0" ]]; then echo "FORCE_BLOCKER|Unable to fetch slave volume details. Please check the slave cluster and slave volume." > $log_file; exit 1; fi; -- cgit