commit | 602553929c41de6c9930e1dfe82b942e51b221de | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Mar 19 10:41:27 2021 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Mon Mar 22 12:04:07 2021 +0100 |
tree | 3872a9b219607a68fc07c232bf08985f405551a3 | |
parent | 6868d05590c53bb47e4a51616915e7319a62ff10 [diff] |
Fix histogram metrics for counting code owner config reads CodeOwnerApprovalCheck had a try catch block to record these metrics, but it was only covering the stream creation and not the stream execution. As result of this we always recorded zero values for the metrics. To fix this move the try catch block to where the stream is executed. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I1848e6584e240b47599c0c12f045f5ebfc26c0f7
This plugin provides support for defining code owners for files in a repository.
If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.
Also see resources/Documentation/about.md.
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md.