mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-13 10:09:53 +08:00
Try to fix lookaside.new fedmsg messages.
This commit is contained in:
@@ -224,7 +224,7 @@ def main():
|
||||
fedmsg.init(name="relay_inbound", cert_prefix="lookaside", **config)
|
||||
|
||||
topic = "lookaside.new"
|
||||
msg = dict(name=name, md5sum=checksum, filename=filename,
|
||||
msg = dict(name=name, md5sum=checksum, filename=filename.split('/')[-1],
|
||||
agent=username, path=msgpath)
|
||||
fedmsg.publish(modname="git", topic=topic, msg=msg)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user