Skip to content

Commit

Permalink
Group filtering uses strong isolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguo committed Oct 22, 2024
1 parent ec877fd commit cb57fad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ public <T extends OutboundRequest> void filter(OutboundInvocation<T> invocation,
String group = serviceMetadata.getServiceGroup();
RouteTarget target = invocation.getRouteTarget();
if (group != null && !group.isEmpty()) {
target.filter(endpoint -> endpoint.isGroup(group));
target.filter(endpoint -> endpoint.isGroup(group), -1, true);
} else if (serviceConfig != null && !serviceConfig.isServiceGroupOpen()) {
target.filter(endpoint -> endpoint.isGroup(null));
target.filter(endpoint -> endpoint.isGroup(null), -1, true);
}
chain.filter(invocation);
}
Expand Down

0 comments on commit cb57fad

Please sign in to comment.