Skip to content

Commit

Permalink
Added user and group back into message when archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
nmassey001 committed Feb 10, 2025
1 parent fee7be1 commit 430b053
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nlds_processors/catalog/catalog_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,9 @@ def _catalog_archive_put(self, body: Dict, rk_origin: str) -> None:
# Forward successful file details to archive for tape write
rk_complete = ".".join([rk_origin, RK.CATALOG_ARCHIVE_NEXT, RK.COMPLETE])

# the user and group should be set as the NLDS user by the send_archive_next
# cronjob publisher
# the user and group need to be set here
body[MSG.DETAILS][MSG.USER] = next_holding.user
body[MSG.DETAILS][MSG.GROUP] = next_holding.group
body[MSG.META][MSG.HOLDING_ID] = next_holding.id
if len(self.completelist) > 0:
self.log(
Expand Down

0 comments on commit 430b053

Please sign in to comment.