Skip to content

Commit

Permalink
srm: Include failed or unprocessed surls in list response
Browse files Browse the repository at this point in the history
Otherwise the status of such files isn't reported back to the client.

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6673
  • Loading branch information
gbehrmann committed Mar 5, 2014
1 parent 1987331 commit 773611e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,13 @@ public long extendLifetime(long newLifetime) throws SRMException {
}

public TMetaDataPathDetail getMetaDataPathDetail() {
if (metaDataPathDetail != null) {
return metaDataPathDetail;
}
TMetaDataPathDetail detail = new TMetaDataPathDetail();
detail.setPath(getPath(surl));
detail.setStatus(getReturnStatus());
return detail;
}

public final TMetaDataPathDetail getMetaDataPathDetail(URI surl,
Expand Down

0 comments on commit 773611e

Please sign in to comment.