Skip to content
Snippets Groups Projects
Commit 7308afa3 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Fixed subject to be more specific about the key

parent 1c8ad2d2
No related branches found
No related tags found
1 merge request!1476Fixing post-ingestion message error
......@@ -281,7 +281,7 @@ class ArchiveMessageArchitect(MessageArchitectIF):
# image indexing is based on project not request id, use different subject
template["subject"] = (
f"WS workflow triggering indexer for {self.project}"
if not self.request
if self.key in ["ingestor.images", "ingestion-complete.vlba"]
else f"WS workflow request #{self.request.workflow_request_id}"
)
template["routing_key"] = self.key
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment