Skip to content

Commit

Permalink
test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Nov 7, 2024
1 parent 40163ba commit 10e338d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/extension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ func (em *ExtensionManager) SendStartInvocationRequest(ctx context.Context, even
ctx = context.WithValue(ctx, DdParentId, parentId)
}
samplingPriority := response.Header.Get(string(DdSamplingPriority))

Check failure on line 134 in internal/extension/extension.go

View workflow job for this annotation

GitHub Actions / lint

ineffectual assignment to samplingPriority (ineffassign)
samplingPriority = "0.3"
fmt.Printf("[DEBUG] [extension.go] [SendStartInvocationRequest()] Sampling priority: %s\n", samplingPriority)
if samplingPriority != "" {
//ctx = context.WithValue(ctx, DdSamplingPriority, samplingPriority)
ctx = context.WithValue(ctx, DdSamplingPriority, samplingPriority)
}
}
return ctx
Expand Down

0 comments on commit 10e338d

Please sign in to comment.