mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
No changes detected
This commit is contained in:
parent
06338d6a77
commit
c229d5e12e
@ -388,17 +388,21 @@ function smart_gs {
|
|||||||
if [ "${primaryDBMD5}" != "${last_primaryDBMD5}" ]
|
if [ "${primaryDBMD5}" != "${last_primaryDBMD5}" ]
|
||||||
then
|
then
|
||||||
echo "Primary DB has changed"
|
echo "Primary DB has changed"
|
||||||
elif [ "${primaryDBMD5}" == "${last_primaryDBMD5}" ]
|
elif [ "${secondDBMD5}" != "${last_secondDBMD5}" ]
|
||||||
then
|
then
|
||||||
echo "Secondary DB has changed"
|
echo "Secondary DB has changed"
|
||||||
|
else
|
||||||
|
echo "No DB changes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${primaryCLMD5}" != "${last_primaryCLMD5}" ]
|
if [ "${primaryCLMD5}" != "${last_primaryCLMD5}" ]
|
||||||
then
|
then
|
||||||
echo "Primary CL has changed"
|
echo "Primary CL has changed"
|
||||||
elif [ "${primaryCLMD5}" == "${last_primaryCLMD5}" ]
|
elif [ "${secondCLMD5}" != "${last_secondCLMD5}" ]
|
||||||
then
|
then
|
||||||
echo "Secondary CL has changed"
|
echo "Secondary CL has changed"
|
||||||
|
else
|
||||||
|
echo "No CL changes"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user