Skip to content

Commit 331b24a

Browse files
committed
supervisor/jira_utils.py: Fix a dry-run bug in attachment upload function
I accidentally removed the early return value when changing the return value from list[str] to None.
1 parent e8c2f54 commit 331b24a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

supervisor/jira_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ def add_issue_attachments(
615615
issue_key,
616616
)
617617
logger.debug("Dry run: would post attachment to %s", path)
618+
return
618619

619620
jira_api_upload(path, attachments=attachments)
620621

0 commit comments

Comments
 (0)