Skip to content

Commit

Permalink
fix: ConditionalOnRoleCondition
Browse files Browse the repository at this point in the history
  • Loading branch information
xzchaoo committed Mar 20, 2024
1 parent 106d483 commit f608d47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public ConditionOutcome getMatchOutcome(ConditionContext context,
} else {
for (String role : expectedRoles) {
if (!Iterables.contains(iter, role)) {
return ConditionOutcome.match("no match '" + role + "' role");
return ConditionOutcome.noMatch("no match '" + role + "' role");
}
}
}
Expand Down

0 comments on commit f608d47

Please sign in to comment.