Skip to content

Commit

Permalink
fix golang papp
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur committed Nov 22, 2024
1 parent 76693e4 commit 92396be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/build/docker/golang/parametric/otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (s *apmClientServer) OtelStartSpan(args OtelStartSpanArgs) (OtelStartSpanRe
}
var otelOpts []otel_trace.SpanStartOption
if args.SpanKind != nil {
otelOpts = append(otelOpts, otel_trace.WithSpanKind(otel_trace.ValidateSpanKind(otel_trace.SpanKind(*args.SpanKind - 1))))
otelOpts = append(otelOpts, otel_trace.WithSpanKind(otel_trace.ValidateSpanKind(otel_trace.SpanKind(*args.SpanKind))))
}
if t := args.Timestamp; t != nil {
tm := time.UnixMicro(*t)
Expand Down

0 comments on commit 92396be

Please sign in to comment.