Set rsync url for local deployments

This commit is contained in:
Michael Vines
2018-09-05 07:56:26 -07:00
parent 8c51b47e85
commit e2e569cb43
4 changed files with 14 additions and 7 deletions

View File

@@ -166,6 +166,9 @@ find_leader() {
declare shift=0
if [[ -d $SNAP ]]; then
if [[ -n $1 ]]; then
usage "Error: unexpected parameter: $1"
fi
# Select leader from the Snap configuration
leader_ip=$(snapctl get leader-ip)