Skip to content

Commit

Permalink
custom shell name
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
JPDSousa committed Sep 16, 2017
1 parent edecdc0 commit f3664c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/basho_bench_driver_antidote_aql.erl
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@

new(Id) ->
Actors = basho_bench_config:get(aql_actors, []),
Shell = basho_bench_config:get(aql_shell, "aql"),
Nth = (Id - 1) rem length(Actors) + 1,
Ip = lists:nth(Nth, Actors),
AQLNodeStr = lists:concat(["aql@", Ip]),
AQLNodeStr = lists:concat([Shell, "@", Ip]),
AntidoteNodeStr = lists:concat(["antidote@", Ip]),
AQLNode = list_to_atom(AQLNodeStr),
AntidoteNode = list_to_atom(AntidoteNodeStr),
Expand Down

0 comments on commit f3664c5

Please sign in to comment.