Replaces empty tags with tags with values of UNKNOWN

This commit is contained in:
Spencer Gibb
2019-02-26 15:01:36 -05:00
parent f9cb397a1f
commit 1990dbaa19

View File

@@ -74,7 +74,8 @@ public class GatewaySocketAcceptor implements SocketAcceptor {
decorate(sendingSocket, requesterTags.and(metadataTags)), metadata);
}
else {
metadataTags = Tags.empty();
metadataTags = Tags.of("service.name", "UNKNOWN").and("service.id",
"UNKNOWN");
exchange = new SocketAcceptorExchange(setup,
decorate(sendingSocket, requesterTags));
}