From: Patrick Donnelly Date: Wed, 13 Aug 2025 17:14:02 +0000 (-0400) Subject: script/redmine-upkeep: break out of filters on limit threshold X-Git-Tag: testing/wip-vshankar-testing-20250829.190601-debug~12^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=914ba8ab480d2101378b006aa6a8b9fcc4fd7845;p=ceph-ci.git script/redmine-upkeep: break out of filters on limit threshold Signed-off-by: Patrick Donnelly --- diff --git a/src/script/redmine-upkeep.py b/src/script/redmine-upkeep.py index 72924f5ab5e..ff9d3fc696a 100755 --- a/src/script/redmine-upkeep.py +++ b/src/script/redmine-upkeep.py @@ -1347,6 +1347,8 @@ h2. Update Payload break except redminelib.exceptions.ResourceAttrError as e: log.warning(f"Redmine API error with filter {issue_filter}: {e}") + if limit <= 0: + break def main(): parser = argparse.ArgumentParser(description="Ceph redmine upkeep tool")