Skip to content

Commit

Permalink
new map, needs refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
drewkerrigan committed Dec 6, 2013
1 parent e92ea7a commit 512b57d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/basho_bench_driver_http.erl
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,13 @@ evaluate_generator(Name, Generators, KeyGen, ValueGen) ->

build_formatted_value(String, GeneratorNames, Generators, KeyGen, ValueGen) ->

F = fun(Name) ->
evaluate_generator(Name, Generators, KeyGen, ValueGen)
end,
%% F = fun(Name) ->
%% evaluate_generator(Name, Generators, KeyGen, ValueGen)
%% end,

Values = lists:map(F, GeneratorNames),
%% Values = lists:map(F, GeneratorNames),

Values = [evaluate_generator(Name, Generators, KeyGen, ValueGen) || Name <- GeneratorNames],

io_lib:format(String, Values).

Expand Down

0 comments on commit 512b57d

Please sign in to comment.