mirror of https://github.com/grpc/grpc-java.git
core: fix DNS JNDI not working if there is an unavailability cause
This commit is contained in:
parent
43d38cfa03
commit
53f4ad21b4
|
|
@ -693,6 +693,7 @@ final class DnsNameResolver extends NameResolver {
|
|||
Level.FINE,
|
||||
"JndiResourceResolverFactory not available, skipping.",
|
||||
rrf.unavailabilityCause());
|
||||
return null;
|
||||
}
|
||||
return rrf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue