Fix Beanstalk post-recieve close hook.
Review Request #12124 — Created March 8, 2022 and submitted
Information | |
---|---|
david | |
Review Board | |
release-5.0.x | |
Reviewers | |
reviewboard | |
The close hook for Beanstalk was apparently never actually used, because
it wasn't callingclose_all_review_requests
with the required
arguments. This change plumbs through the necessary things.
Ran unit tests.
-
-
-
reviewboard/hostingsvcs/beanstalk.py (Diff revision 1) Can we pass these as keyword arguments?
Given the same arguments are going into both variations of this, maybe we could build that up up-front and then pass in to whichever we call.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+114 -18) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.