Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tape-api: map request supplied paths based on frontend.root
Motivation: ArchiveInfo request contains paths like: ``` paths: [ "/file1", "/file1", "/file3" ] ``` Those paths are relative to frontend.root, so, should be mapped before processed by rest of the dCache. Modification: map request supplied paths based on frontend.root. Strip the prefix when generating reply. Result: ArchiveInfoResources respects frondend.root Fixes: #7506 Acked-by: Marina Sahakyan Target: master, 9.2 Require-book: no Require-notes: yes (cherry picked from commit d78a480) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Loading branch information
1 parent
2c8a17f
commit f9ef94a
Showing
1 changed file
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters