Skip to content

Commit

Permalink
Merge pull request #200 from chenzhiguo/fix
Browse files Browse the repository at this point in the history
Fix grpc routing issue #199
  • Loading branch information
chenzhiguo authored Jan 6, 2025
2 parents 679c6f7 + 25adc4b commit cb1ee3f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ public RouteTarget getRouteTarget() {
if (null == routeTarget) {
if (instances == null) {
routeTarget = RouteTarget.forward(new ArrayList<>());
} else if (instances instanceof ArrayList) {
routeTarget = RouteTarget.forward(instances);
} else {
// use array list to improve performance.
routeTarget = RouteTarget.forward(new ArrayList<>(instances));
Expand Down

0 comments on commit cb1ee3f

Please sign in to comment.