Remove redundant filtering (old way) in riaks.py

Change-Id: I2b6057b2522cb7ac611a50504f9cf00ae384e42f
This commit is contained in:
Jedrzej Nowak 2016-01-07 10:47:58 +01:00
parent 206bfcb347
commit 3ceac9286a

View File

@ -32,7 +32,6 @@ def setup_riak():
ModelMeta.remove_all()
resources = cr.create('nodes', 'templates/nodes', {'count': 3})
nodes = [x for x in resources if x.name.startswith('node')]
nodes = resources.like('node')
hosts_services = resources.like('hosts_file')
node1, node2, node3 = nodes