From 9415fff005bcc96b480b921c525294972db6e3d3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 16 Jun 2020 21:08:02 +0200 Subject: [PATCH] Fix the topic of the notifications sent on the bus In the fedmsg world this was done by the modname passed to the fedmsg.publish() function but in fedora-messaging there is no such concept, so we need to pass the exact/correct topic. This commit fixes that. Signed-off-by: Pierre-Yves Chibon --- scripts/httpd/upload.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/httpd/upload.cgi b/scripts/httpd/upload.cgi index f86d78a..9433877 100755 --- a/scripts/httpd/upload.cgi +++ b/scripts/httpd/upload.cgi @@ -193,7 +193,7 @@ def emit_fedora_message(config, name, checksum, filename, username, msgpath): ) msg = fedora_messaging.api.Message( - topic="lookaside.new", + topic="git.lookaside.new", body=message ) fedora_messaging.api.publish(msg)