Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-frontend,common: check parsing of Duration in STAGE
Motivation: See #7414 `tape API/bulk: seem to choke on any interval other than "PND" and "PTNH"` Modification: Solves the first part. Whereever `Duration.parse` is used with a REST request (Bulk, QoS), we can now return a bad request response with a detailed error message. Result: No mysterious silent failure. Target: master Request: 9.2 Request: 9.1 Request: 9.0 Request: 8.2 Patch: https://rb.dcache.org/r/14161/ Bug: #7414 Requires-notes: yes Acked-by: Dmitry
- Loading branch information
1 parent
2e559af
commit 9d3295b
Showing
2 changed files
with
18 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
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