mirror of https://github.com/grpc/grpc-node.git
Validate that LOGICAL_DNS address is non-empty
This commit is contained in:
parent
fed7b02a35
commit
b914a0388f
|
@ -81,6 +81,9 @@ export class CdsState extends BaseXdsStreamState<Cluster__Output> implements Xds
|
|||
if (!socketAddress) {
|
||||
return false;
|
||||
}
|
||||
if (socketAddress.address === '') {
|
||||
return false;
|
||||
}
|
||||
if (socketAddress.port_specifier !== 'port_value') {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue