From 62afd8133aa50f74d1d23b776708730775840923 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Wed, 15 Apr 2015 19:39:12 -0700 Subject: [PATCH] integration: Fix swarm_manage helper with custom discovery. Signed-off-by: Andrea Luzzardi --- test/integration/helpers.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/helpers.bash b/test/integration/helpers.bash index d9d684769b..f976cb5829 100644 --- a/test/integration/helpers.bash +++ b/test/integration/helpers.bash @@ -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="$@"