Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pnfsmanager: fix digest name handling in
get file checksum
command
Motivation: dcache's admin command builder can convert string values into corresponding enum values. This works well for cases where enum name and string name are the same, like "ADLER32" and ADLER32. However it's not always the case: "MD5" and MD5_TYPE. Modification: update `get file checksum` command to accept string as an argument and use ChecksumType#getChecksumType method to convert digest name to a corresponding ChecksumType enum. Result: `get file checksum` works as expected. Fixes: #4064 Acked-by: Paul Millar Target: master, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no
- Loading branch information