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

Preventing the architect from falling over if a request isn't attached

parent 4a5d5ef8
No related branches found
No related tags found
1 merge request!1476Fixing post-ingestion message error
Pipeline #12229 failed
......@@ -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 self.key == "ingestor.images"
if not self.request
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