Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Dec 2, 2024
1 parent cb6d267 commit 5b18540
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/server/service/event-ingester/auth/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (g *Group) ApplyFilter(ctx context.Context, events []*xatu.DecoratedEvent)
return events, nil
}

ctx, span := observability.Tracer().Start(ctx,
_, span := observability.Tracer().Start(ctx,
"Auth/Group.ApplyFilter",
trace.WithAttributes(attribute.Int64("events", int64(len(events)))),
)
Expand All @@ -196,7 +196,7 @@ func (g *Group) ApplyFilter(ctx context.Context, events []*xatu.DecoratedEvent)
}

func (g *Group) ApplyRedacter(ctx context.Context, events []*xatu.DecoratedEvent) ([]*xatu.DecoratedEvent, error) {
ctx, span := observability.Tracer().Start(ctx,
_, span := observability.Tracer().Start(ctx,
"Auth/Group.ApplyRedacter",
trace.WithAttributes(attribute.Int64("events", int64(len(events)))),
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/service/event-ingester/auth/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (u *User) ApplyFilter(ctx context.Context, events []*xatu.DecoratedEvent) (
return events, nil
}

ctx, span := observability.Tracer().Start(ctx,
_, span := observability.Tracer().Start(ctx,
"User.ApplyFilter",
trace.WithAttributes(attribute.Int64("events", int64(len(events)))),
)
Expand Down

0 comments on commit 5b18540

Please sign in to comment.