Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
Filter mzb_bench_id
Browse files Browse the repository at this point in the history
  • Loading branch information
parsifal-47 committed Apr 7, 2017
1 parent 11edb79 commit 9f48561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/mzb_api_ws_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ normalize_bench({Id, Status = #{config:= Config}}) ->
env:= Env} = Config,
Results = mzb_api_endpoints:format_results(Status),
DefaultVMArgs = application:get_env(mzbench_api, vm_args, undefined),
EnvMap = mzb_bc:maps_without(["mzb_script_name", "nodes_num", "bench_workers_dir", "bench_script_dir", "worker_hosts"], maps:from_list(Env)),
EnvMap = mzb_bc:maps_without(["mzb_script_name", "nodes_num", "bench_workers_dir", "bench_script_dir", "worker_hosts", "mzb_bench_id"], maps:from_list(Env)),
EnvMap2 = if VMArgs =/= DefaultVMArgs -> maps:put(vm_args, VMArgs, EnvMap);
true -> EnvMap end,
ScriptFields = #{script_body => ScriptBody,
Expand Down

0 comments on commit 9f48561

Please sign in to comment.