From 088aa3e77caf4fabcd2b7bd7f2bab62d398c4185 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: May 10 2024 20:29:52 +0000 Subject: Drop the 'temporary measure' message topic filter We don't need it any more. Signed-off-by: Adam Williamson --- diff --git a/fedora_cloud_image_uploader/handler.py b/fedora_cloud_image_uploader/handler.py index 84ad3c2..6c7ad42 100644 --- a/fedora_cloud_image_uploader/handler.py +++ b/fedora_cloud_image_uploader/handler.py @@ -31,11 +31,6 @@ class Uploader: """ Consumes Pungi messages and uploads cloud images from finished composes. """ - # This is a temporary measure as we previously consumed Koji messages. Once - # this version is deployed and the queue is flushed this can be removed. - if not message.topic.endswith("pungi.compose.status.change"): - return - # We only care about finished composes, but we can't filter that out at the # AMQP topic level. if message.body.get("status") not in ("FINISHED", "FINISHED_INCOMPLETE"):