From cc266329bd383aeaa81f104cc2f9c68a745f9158 Mon Sep 17 00:00:00 2001 From: urihershgc Date: Thu, 3 Dec 2015 09:39:54 +0200 Subject: [PATCH] restore proxy addressing --- chaos_monkey/control.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chaos_monkey/control.py b/chaos_monkey/control.py index d86f83998..21ded91e2 100644 --- a/chaos_monkey/control.py +++ b/chaos_monkey/control.py @@ -178,7 +178,6 @@ class ControlClient(object): return None else: proxy_class = HTTPConnectProxy - target_addr, target_port = WormConfiguration.current_server.split(':', 1) - target_port = int(target_port) + target_addr, target_port = None, None return tunnel.MonkeyTunnel(proxy_class, target_addr=target_addr, target_port=target_port)