You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
chore: enable unused-parameter rule from revive (#7122)
#### Description Enable and fixes [unused-parameter](https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#unused-parameter) rule from revive Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -52,7 +52,7 @@ func (t *testSpanProcessor) OnEnd(s ReadOnlySpan) {
|
||||
t.spansEnded = append(t.spansEnded, s)
|
||||
}
|
||||
|
||||
func (t *testSpanProcessor) Shutdown(_ context.Context) error {
|
||||
func (t *testSpanProcessor) Shutdown(context.Context) error {
|
||||
if t == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user