iilyak commented on code in PR #3983:
URL: https://github.com/apache/couchdb/pull/3983#discussion_r867038740
##########
src/couch/src/couch_debug.erl:
##########
@@ -615,6 +632,16 @@ restart_busy(ProcessList, Threshold, DelayInMsec,
Property) when
%% - left
%% - centre
%% - right
+print_table(Rows, TableSpec) ->
+ io:format("~s~n", [format(TableSpec)]),
+ lists:foreach(
+ fun({Id, Props}) ->
+ io:format("~s~n", [table_row(Id, 2, Props, TableSpec)])
+ end,
+ Rows
+ ),
+ ok.
+
print_tree(Tree, TableSpec) ->
Review Comment:
both print_table and print_tree should have comments documenting their
arguments.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]