mirror of https://github.com/docker/docs.git
Merge pull request #630 from aluzzardi/integration-fix-manage
integration: Fix swarm_manage helper with custom discovery.
This commit is contained in:
commit
b8e6541cb5
|
@ -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="$@"
|
||||
|
|
Loading…
Reference in New Issue