From 3ba203444521cf9c22b4139f2be7eef0b3d3f3c7 Mon Sep 17 00:00:00 2001 From: James Coyle Date: Fri, 3 Feb 2017 10:23:16 +0000 Subject: [PATCH] Corrected diff direction. --- bin/diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/diff.sh b/bin/diff.sh index 342083f..8e14b75 100644 --- a/bin/diff.sh +++ b/bin/diff.sh @@ -6,6 +6,6 @@ ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source $ROOT/set_env.sh source $ROOT/functions.sh -runRemoteSSH "$ROOT/../keys/deploykey.private" "mysqldiff --force --server1=deployment@$SOURCE_IP --server2=deployment@$TARGET_IP performance:performance --changes-for=server2 --difftype=sql | tee /tmp/changes.sql" +runRemoteSSH "$ROOT/../keys/deploykey.private" "mysqldiff --force --server2=deployment@$SOURCE_IP --server1=deployment@$TARGET_IP performance:performance --changes-for=server2 --difftype=sql | tee /tmp/changes.sql" scp -o StrictHostKeyChecking=no -i $ROOT/../keys/deploykey.private root@$TARGET_IP:/tmp/changes.sql $ROOT/../changes.sql \ No newline at end of file -- GitLab