Skip to content

Commit

Permalink
fixed minor lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Porter <[email protected]>
  • Loading branch information
portertech committed Jan 6, 2025
1 parent 2fd892b commit 02c95c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/tailsamplingprocessor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (tsp *tailSamplingSpanProcessor) loadSamplingPolicy(cfgs []PolicyCfg) error

func (tsp *tailSamplingSpanProcessor) SetSamplingPolicy(cfgs []PolicyCfg) {
tsp.logger.Debug("Setting pending sampling policy", zap.Int("pending.len", len(cfgs)))

tsp.setPolicyMux.Lock()
defer tsp.setPolicyMux.Unlock()

Expand Down

0 comments on commit 02c95c7

Please sign in to comment.