Skip to content

Commit

Permalink
Merge pull request quarkusio#45629 from alesj/grpc_channel_add1
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier authored Jan 16, 2025
2 parents d8638a9 + 8e09eb0 commit 4088418
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ public void addClient(ClientInfo client) {

public void addClient(ClientInfo client, boolean addChannel) {
clients.add(client);
clients.add(new ClientInfo(GrpcDotNames.CHANNEL, ClientType.CHANNEL, client.interceptors));
if (addChannel) {
clients.add(new ClientInfo(GrpcDotNames.CHANNEL, ClientType.CHANNEL, client.interceptors));
}
}

public String getClientName() {
Expand Down

0 comments on commit 4088418

Please sign in to comment.