Skip to content

Commit

Permalink
Protocols: correctly support disabled checksums in gfal. Closes rucio…
Browse files Browse the repository at this point in the history
  • Loading branch information
Radu Carpa committed Jan 8, 2024
1 parent 436ecc9 commit 5876958
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/rucio/rse/protocols/gfal.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ def stat(self, path):

ret['filesize'] = stats[7]

if not self.rse.get('verify_checksum', True):
return ret

message = "\n"
try:
ret[PREFERRED_CHECKSUM] = ctx.checksum(path, str(PREFERRED_CHECKSUM.upper()))
Expand Down

0 comments on commit 5876958

Please sign in to comment.