Skip to content

Commit bb407ba

Browse files
committed
BUG/MINOR: acl: Fix error message about several '-m' parameters
There is a typo in the commit * c51ddd5 ("MINOR: acl: Only allow one '-m' matching method") . '*m' was reported in the error message instead of '-m'. In addition, it is now mentionned that only the last one should be keep if an old config triggers the error. No backport needed, except if the commit above is backported.
1 parent b167d54 commit bb407ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/acl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
364364
goto out_free_expr;
365365
}
366366
if (match_forced) {
367-
memprintf(err, "only one explicit matching method can be defined with '*m' parameter");
367+
memprintf(err, "only one explicit matching method can be defined with '-m' parameter."
368+
" if migrating from an old version, just keep the last one");
368369
goto out_free_expr;
369370
}
370371

0 commit comments

Comments
 (0)