rules.pl: enable matcher predicate
This predicate is required to get the plugin use the matcher section of
the OWNERs file.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/rules.pl b/rules.pl
index 9f0918b..31969a9 100644
--- a/rules.pl
+++ b/rules.pl
@@ -1,5 +1,5 @@
submit_filter(In,S) :-
In =.. [submit | Ds],
findall(U, gerrit:commit_label(label('Code-Review', 2), U), Approvers),
- gerrit_owners:add_owner_approval(Approvers, Ds, A),
+ gerrit_owners:add_match_approval(Approvers, Ds, A),
S =.. [submit | A].