Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-dd committed Nov 14, 2024
1 parent 1d945fb commit 6f3fe43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/kubehound/storage/graphdb/janusgraph_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ func (jgp *JanusGraphProvider) Close(ctx context.Context) error {
}

// Raw returns a handle to the underlying provider to allow implementation specific operations e.g graph queries.
func (jgp *JanusGraphProvider) Clean(ctx context.Context, cluster string) (err error) {
func (jgp *JanusGraphProvider) Clean(ctx context.Context, cluster string) error {
var err error
span, ctx := span.SpanRunFromContext(ctx, span.IngestorClean)
defer func() { span.Finish(tracer.WithError(err)) }()
l := log.Trace(ctx)
Expand Down

0 comments on commit 6f3fe43

Please sign in to comment.