Merge pull request #215 from pigmej/riak-example-fix

Correct riaks.py example template
This commit is contained in:
Łukasz Oleś 2015-10-01 14:57:49 +02:00
commit d4618d6e74

View File

@ -32,7 +32,7 @@ db = get_db()
def setup_riak(): def setup_riak():
db.clear() db.clear()
resources = vr.create('nodes', 'templates/riak_nodes.yaml', {'count': 3}) resources = vr.create('nodes', 'templates/nodes.yaml', {'count': 3})
nodes = [x for x in resources if x.name.startswith('node')] nodes = [x for x in resources if x.name.startswith('node')]
node1, node2, node3 = nodes node1, node2, node3 = nodes