diff options
author | Joffrey F <joffrey@docker.com> | 2017-01-25 15:28:43 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2017-01-25 15:28:43 -0800 |
commit | 3e5bb7b0e6ae6286451f8af8cc717bd995709c13 (patch) | |
tree | a7e081b153f0d0dfd80bedcb235bd8da7a0c0835 /tests/integration/models_services_test.py | |
parent | 39deace7c62e3ebfd1a69beb9ac78e6aa7038b57 (diff) | |
download | docker-py-1359-swarm-init.tar.gz |
Fix Swarm model init to correctly pass arguments through to init_swarm1359-swarm-init
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'tests/integration/models_services_test.py')
-rw-r--r-- | tests/integration/models_services_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/models_services_test.py b/tests/integration/models_services_test.py index a795df9..27979dd 100644 --- a/tests/integration/models_services_test.py +++ b/tests/integration/models_services_test.py @@ -11,7 +11,7 @@ class ServiceTest(unittest.TestCase): def setUpClass(cls): client = docker.from_env() helpers.force_leave_swarm(client) - client.swarm.init(listen_addr=helpers.swarm_listen_addr()) + client.swarm.init('eth0', listen_addr=helpers.swarm_listen_addr()) @classmethod def tearDownClass(cls): |