Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mahad Zaryab <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro and mahadzaryab1 authored Dec 28, 2024
1 parent 61727fc commit e372924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/jaeger/internal/integration/trace_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var (
_ io.Closer = (*traceReader)(nil)
)

// traceReader retrieve span data from Jaeger-v2 query with api_v2.QueryServiceClient.
// traceReader retrieves trace data from the jaeger-v2 query service through the api_v2.QueryServiceClient.
type traceReader struct {
logger *zap.Logger
clientConn *grpc.ClientConn
Expand Down Expand Up @@ -172,7 +172,7 @@ func (r *traceReader) consumeTraces(
if !handleError(err) {
return false
}
traces := chunk.ToTraces() // unwrap ptrace.Traces from chunk
traces := chunk.ToTraces() // unwrap ptrace.Traces from chunk
if !yield([]ptrace.Traces{traces}, nil) {
return false
}
Expand Down

0 comments on commit e372924

Please sign in to comment.