Skip to content

Commit 1c80037

Browse files
committed
Comment that the provider's priority doesn't matter
1 parent f63efbb commit 1c80037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected boolean isAvailable() {
5959

6060
@Override
6161
protected int priority() {
62-
return 5;
62+
return 5; // Doesn't matter, as we expect only one provider in the registry
6363
}
6464

6565
public void updateAddresses(List<EquivalentAddressGroup> eags) {

0 commit comments

Comments
 (0)