Skip to content

fix: is_reset_signal should handle status that is None#183

Merged
tmdiep merged 1 commit into
googleapis:masterfrom
tmdiep:fix_reset_null
Jul 13, 2021
Merged

fix: is_reset_signal should handle status that is None#183
tmdiep merged 1 commit into
googleapis:masterfrom
tmdiep:fix_reset_null

Conversation

@tmdiep
Copy link
Copy Markdown
Contributor

@tmdiep tmdiep commented Jul 13, 2021

When trailing_metadata is None, rpc_status.from_call() returns None. This needs to be handled when detecting the RESET signal.

@tmdiep tmdiep requested review from a team and dpcollins-google July 13, 2021 23:24
@product-auto-label product-auto-label Bot added the api: pubsublite Issues related to the googleapis/python-pubsublite API. label Jul 13, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 13, 2021
@tmdiep tmdiep added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 13, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 13, 2021
@tmdiep tmdiep added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 13, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 13, 2021
Copy link
Copy Markdown

@manuelmenzella-google manuelmenzella-google left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@tmdiep tmdiep merged commit 4ba484e into googleapis:master Jul 13, 2021
@tmdiep tmdiep deleted the fix_reset_null branch July 13, 2021 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsublite Issues related to the googleapis/python-pubsublite API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants