Skip to content

Commit f141247

Browse files
author
Shunichi Shinohara
committed
Some trivial refactorings
1 parent 3866640 commit f141247

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/basho_bench.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ main(Args) ->
5050
%% Load baseline configs
5151
case application:load(basho_bench) of
5252
ok -> ok;
53-
{error, {already_loaded, basho_bench}} -> ok
53+
{error, {already_loaded, basho_bench}} -> ok
5454
end,
5555
register(basho_bench, self()),
5656
basho_bench_config:set(test_id, BenchName),

src/basho_bench_driver_cs.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ new(ID) ->
109109
["127.0.0.1"]) of
110110
[C|_] = String when is_integer(C), C < 256 ->
111111
[String];
112-
T = Tuple when is_tuple(T) ->
112+
T when is_tuple(T) ->
113113
[T];
114114
Else ->
115115
Else
@@ -209,7 +209,7 @@ run2(Op, _KeyGen, _ValueGen, State) ->
209209

210210
bigfile_valgen(Id, Props) ->
211211
if Id == 1 ->
212-
lager:log(info, "~p value gen props: ~p\n", [?MODULE, Props]);
212+
lager:log(info, self(), "~p value gen props: ~p\n", [?MODULE, Props]);
213213
true ->
214214
ok
215215
end,

0 commit comments

Comments
 (0)