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 1137213
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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
5 changes: 5 additions & 0 deletions pkg/storage/utils/decomposedfs/metadata/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ func (NullBackend) Set(ctx context.Context, path string, key string, val []byte)
return errUnconfiguredError
}

// SetMultipleWithContext sets a set of attribute for the given path
func (NullBackend) SetMultipleWithContext(ctx context.Context, path string, attribs map[string][]byte, acquireLock bool) error {
return errUnconfiguredError
}

// SetMultiple sets a set of attribute for the given path
func (NullBackend) SetMultiple(ctx context.Context, path string, attribs map[string][]byte, acquireLock bool) error {
return errUnconfiguredError
Expand Down

0 comments on commit 1137213

Please sign in to comment.