]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script/redmine-upkeep: finish transform after application
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 16 Jul 2025 18:26:50 +0000 (14:26 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 12 Aug 2025 16:01:24 +0000 (12:01 -0400)
Doing this at the end makes confusing error messages.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/script/redmine-upkeep.py

index 8e865b3043c59242250e3de3c73e5942c500adbe..2f7785624e6c00279e89049efa669adf37f61b00 100755 (executable)
@@ -699,6 +699,7 @@ class RedmineUpkeep:
                     issue_update.logger.info(f"Transformation {transform_method.__name__} resulted in a change.")
                     applied_transformations.append(transform_method.__name__)
 
+            issue_update.set_transform(None)
             if issue_update.has_changes:
                 issue_update.logger.info("Changes detected. Sending update to Redmine...")
                 try: