Commit b1a08b74 authored by Maverick Chardet's avatar Maverick Chardet
Browse files

Fixes using IP

parent a63e3681
......@@ -38,7 +38,7 @@ class SSHAssembly(Assembly):
def prepare(self, remote_addresses, sleep_time):
self._current_nb = len(remote_addresses)
for i, address in enumerate(remote_addresses):
self.add_component("caller%d" % i, SSHCaller(address, sleep_time))
self.add_component("caller%d" % i, SSHCaller(address["ip"], sleep_time))
def call(self, nb_calls):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment