Skip to content

Commit 9f4e8f7

Browse files
authored
[fix][query] Correct query server legacy condition (#6120)
## Which problem is this PR solving? - Towards #6026 ## Description of the changes - Fixes an issue from #6055 where the condition for routing to the legacy implementation was accidentally flipped. ## How was this change tested? - CI ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` Signed-off-by: Mahad Zaryab <[email protected]>
1 parent 2fbc067 commit 9f4e8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/query/app/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func NewServer(
8282
}
8383

8484
var grpcServer *grpc.Server
85-
if separatePorts {
85+
if !separatePorts {
8686
grpcServer, err = createGRPCServerLegacy(ctx, options, tm)
8787
} else {
8888
grpcServer, err = createGRPCServerOTEL(ctx, options, tm, telset)

0 commit comments

Comments
 (0)