fix(tvix/store/directorysvc): stop renaming spans
We have code.namespace as a field, set to tvix_store::directoryservice::sled, so there's no need to repeat the name here. Change-Id: Ic1aa8a2b24de439c6a189966bd773e9acf49d1e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8623 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
457fd4c325
commit
2d214eacc5
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ impl SledDirectoryService {
|
|||
impl DirectoryService for SledDirectoryService {
|
||||
type DirectoriesIterator = DirectoryTraverser<Self>;
|
||||
|
||||
#[instrument(name = "SledDirectoryService::get", skip(self, digest), fields(directory.digest = %digest))]
|
||||
#[instrument(skip(self, digest), fields(directory.digest = %digest))]
|
||||
fn get(&self, digest: &B3Digest) -> Result<Option<proto::Directory>, Error> {
|
||||
match self.db.get(digest.to_vec()) {
|
||||
// The directory was not found, return
|
||||
|
@ -71,7 +71,7 @@ impl DirectoryService for SledDirectoryService {
|
|||
}
|
||||
}
|
||||
|
||||
#[instrument(name = "SledDirectoryService::put", skip(self, directory), fields(directory.digest = %directory.digest()))]
|
||||
#[instrument(skip(self, directory), fields(directory.digest = %directory.digest()))]
|
||||
fn put(&self, directory: proto::Directory) -> Result<B3Digest, Error> {
|
||||
let digest = directory.digest();
|
||||
|
||||
|
|
Loading…
Reference in a new issue