Skip to content

Commit 4203e2d

Browse files
committed
pkg/tracing/plugin: rename var that collided with import
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e2e09b3 commit 4203e2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/tracing/plugin/otlp.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ func init() {
9696
return nil, err
9797
}
9898

99-
//get TracingProcessorPlugin which is a dependency
100-
plugins, err := ic.GetByType(plugins.TracingProcessorPlugin)
99+
// get TracingProcessorPlugin which is a dependency
100+
tracingProcessors, err := ic.GetByType(plugins.TracingProcessorPlugin)
101101
if err != nil {
102102
return nil, fmt.Errorf("failed to get tracing processors: %w", err)
103103
}
104104

105-
procs := make([]trace.SpanProcessor, 0, len(plugins))
106-
for _, p := range plugins {
105+
procs := make([]trace.SpanProcessor, 0, len(tracingProcessors))
106+
for _, p := range tracingProcessors {
107107
procs = append(procs, p.(trace.SpanProcessor))
108108
}
109109

0 commit comments

Comments
 (0)