jaydoane commented on a change in pull request #3299:
URL: https://github.com/apache/couchdb/pull/3299#discussion_r543664012
##########
File path: src/custodian/src/custodian_server.erl
##########
@@ -143,52 +143,7 @@ handle_db_event(_DbName, _Event, _St) ->
{ok, nil}.
check_shards() ->
- [send_sensu_event(Item) || Item <- custodian:summary()].
Review comment:
Hah, I didn't even notice that logging cleverly interleaved in the case
statement. In any case, I've returned them, and changed the `send_event/3`
callback to DRY things up a bit.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]