Skip to content

Commit

Permalink
merged in danirayan's changes for zk-latencies.py - fix --force option
Browse files Browse the repository at this point in the history
  • Loading branch information
phunt committed Apr 20, 2010
2 parents 498d4dc + 144f56e commit c368ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk-latencies.py
Expand Up @@ -282,7 +282,7 @@ def func():
if not options.force:
raise SmokeError("Node %s already exists!" % (options.root_znode))

children = sessions[i].get_children(options.root_znode)
children = sessions[0].get_children(options.root_znode)
for child in children:
sessions[0].delete("%s/%s" % (options.root_znode, child))
else:
Expand Down

0 comments on commit c368ac6

Please sign in to comment.