fix: don't create subpath, as we use buckets

This commit is contained in:
Derrick Hammer 2024-02-18 03:07:14 -05:00
parent b4f8a1979b
commit ae7d048e6c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -288,5 +288,5 @@ func (s StorageServiceDefault) DeleteObjectProof(ctx context.Context, protocol S
} }
func (s StorageServiceDefault) getProofPath(protocol StorageProtocol, objectHash []byte) string { func (s StorageServiceDefault) getProofPath(protocol StorageProtocol, objectHash []byte) string {
return fmt.Sprintf("%s/%s%s", protocol.Name(), protocol.EncodeFileName(objectHash), PROOF_EXTENSION) return fmt.Sprintf("%s%s", protocol.EncodeFileName(objectHash), PROOF_EXTENSION)
} }