Merge pull request #630 from aluzzardi/integration-fix-manage

integration: Fix swarm_manage helper with custom discovery.
This commit is contained in:
Victor Vieux 2015-04-16 12:07:39 -07:00
commit b8e6541cb5
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ function wait_until_reachable() {
# Start the swarm manager in background.
function swarm_manage() {
local discovery
if [ $# -ge 0 ]; then
if [ $# -eq 0 ]; then
discovery=`join , ${HOSTS[@]}`
else
discovery="$@"