aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_stream_response/src/rest_stream_response_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rest_stream_response/src/rest_stream_response_app.erl')
-rw-r--r--examples/rest_stream_response/src/rest_stream_response_app.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/rest_stream_response/src/rest_stream_response_app.erl b/examples/rest_stream_response/src/rest_stream_response_app.erl
index a382d29..46857f4 100644
--- a/examples/rest_stream_response/src/rest_stream_response_app.erl
+++ b/examples/rest_stream_response/src/rest_stream_response_app.erl
@@ -26,7 +26,8 @@ start(_Type, _Args) ->
stop(_State) ->
ok.
-generate_rows(_Table, 0) -> ok;
+generate_rows(_Table, 0) ->
+ ok;
generate_rows(Table, N) ->
ets:insert(Table, {key(), val(), val()}),
generate_rows(Table, N - 1).