Skip to content

Commit 3584743

Browse files
committed
core: Use CONNECTING_RESULT in PickFirstLoadBalancer to fix unused variable warning
1 parent af69f94 commit 3584743

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/io/grpc/internal/PickFirstLoadBalancer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public void requestConnection() {
172172
}
173173

174174
private PickResult connectingResult() {
175-
return PickResult.withNoResult("connecting", "pick_first: attempting to connect");
175+
return CONNECTING_RESULT;
176176
}
177177

178178
/** Picker that requests connection during the first pick, and returns noResult. */

0 commit comments

Comments
 (0)