Skip to content

Commit 52ec675

Browse files
committed
Revert "getNsMatch in eosfs should return a cleaned path (#5496)"
This reverts commit 332e9c5.
1 parent 7ba24bd commit 52ec675

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/storage/utils/eosfs/eosfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ func (fs *Eosfs) getNsMatch(internal string, nss []string) (string, error) {
319319
return "", errtypes.NotFound(fmt.Sprintf("eosfs: path is outside namespaces: path=%s namespaces=%+v", internal, nss))
320320
}
321321

322-
return path.Clean(match), nil
322+
return match, nil
323323
}
324324

325325
func (fs *Eosfs) unwrapInternal(ctx context.Context, ns, np string) (string, error) {

0 commit comments

Comments
 (0)