Skip to content

Commit

Permalink
fix: do not treat like an iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Sep 16, 2024
1 parent 4bee4ed commit ea1d7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync2jira/upstream_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def handle_github_message(msg, config, pr_filter=True):
# special handling for milestone: use the number
milestone = msg['msg']['issue'].get(key) or {}
actual = milestone.get('number')
if expected not in actual:
if expected != actual:
log.debug("Milestone %s not set on issue: %s", expected, upstream)
return None
else:
Expand Down

1 comment on commit ea1d7cf

@ralphbean
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/retest

Please sign in to comment.