forked from p15670423/monkey
GC-4599: fixed depth to int
This commit is contained in:
parent
0ec19578c3
commit
21463211fd
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue