From 21463211fdcdbcdc81e320d228de3d3e317e572f Mon Sep 17 00:00:00 2001 From: urihershgc Date: Tue, 8 Dec 2015 09:41:21 +0200 Subject: [PATCH] GC-4599: fixed depth to int --- chaos_monkey/monkey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaos_monkey/monkey.py b/chaos_monkey/monkey.py index 94eabdeca..150494b04 100644 --- a/chaos_monkey/monkey.py +++ b/chaos_monkey/monkey.py @@ -51,7 +51,7 @@ class ChaosMonkey(object): self._default_tunnel = opts.tunnel self._default_server = opts.server if opts.depth: - WormConfiguration.depth = opts.depth + WormConfiguration.depth = int(opts.depth) LOG.debug("Selected depth is: %d" % WormConfiguration.depth) self._keep_running = True self._network = NetworkScanner()