Fix health check after unsubscribe#1207
Conversation
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## master #1207 +/- ##
=======================================
Coverage 89.21% 89.21%
=======================================
Files 21 21
Lines 6872 6873 +1
Branches 794 794
=======================================
+ Hits 6131 6132 +1
Misses 578 578
Partials 163 163
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
The code LGTM for this specific issue, but it is probably worth adding a comment explaining why you're checking for two possible responses. |
Co-authored-by: Bruce Merry <1963944+bmerry@users.noreply.github.com>
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
for more information, see https://pre-commit.ci
|
not sure what's going on. Will come back later if no one else figures out what's wrong. Branch should be open for anyone to change... |
What do these changes do?
Returns None for health check response.
Are there changes in behavior for the user?
Maybe. If someone used to check the health check response after unsubscribing (for some odd reason), then yes. But for most people, no. And I can't imagine why since we usually return None for health checks.
Related issue number
Fixes #1206
Checklist
CONTRIBUTORS.txt<Name> <Surname>.CHANGES/folder<issue_id>.<type>(e.g.588.bugfix)issue_idchange it to the pr id after creating the PR.feature: Signifying a new feature..bugfix: Signifying a bug fix..doc: Signifying a documentation improvement..removal: Signifying a deprecation or removal of public API..misc: A ticket has been closed, but it is not of interest to users.Fix issue with non-ascii contents in doctest text files.