Skip to content

Commit

Permalink
use correct tracer pkg name
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Jul 6, 2023
1 parent 5009aa4 commit d27402f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/unreleased/use-correct-tracer-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Enhancement: Use correct tracer name

https://github.com/cs3org/reva/pull/4046

3 changes: 2 additions & 1 deletion pkg/storage/cache/stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
var tracer trace.Tracer

func init() {
tracer = otel.Tracer("github.com/cs3org/reva/pkg/storage/utils/decomposedfs/lookup")
tracer = otel.Tracer("github.com/cs3org/reva/pkg/storage/cache")
}

// NewStatCache creates a new StatCache
Expand Down Expand Up @@ -93,6 +93,7 @@ func (c statCache) RemoveStatContext(ctx context.Context, userID *userpb.UserId,
}

wg.Wait()

}

// RemoveStatContext(ctx, removes a reference from the stat cache
Expand Down

0 comments on commit d27402f

Please sign in to comment.