Remove redundant filtering (old way) in riaks.py
Change-Id: I2b6057b2522cb7ac611a50504f9cf00ae384e42f
This commit is contained in:
parent
206bfcb347
commit
3ceac9286a
@ -32,7 +32,6 @@ def setup_riak():
|
|||||||
|
|
||||||
ModelMeta.remove_all()
|
ModelMeta.remove_all()
|
||||||
resources = cr.create('nodes', 'templates/nodes', {'count': 3})
|
resources = cr.create('nodes', 'templates/nodes', {'count': 3})
|
||||||
nodes = [x for x in resources if x.name.startswith('node')]
|
|
||||||
nodes = resources.like('node')
|
nodes = resources.like('node')
|
||||||
hosts_services = resources.like('hosts_file')
|
hosts_services = resources.like('hosts_file')
|
||||||
node1, node2, node3 = nodes
|
node1, node2, node3 = nodes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user