Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer committed Oct 25, 2019
1 parent 99bfc26 commit 3216d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsub/google/cloud/pubsub_v1/publisher/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def stop(self):
This method is non-blocking. Use `Future()` objects
returned by `publish()` to make sure all messages
sent or failed to.
sent or failed.
"""
if self._is_stopped:
raise ValueError("Cannot stop a publisher already stopped.")
Expand Down

1 comment on commit 3216d84

@pradn
Copy link
Contributor

@pradn pradn commented on 3216d84 Oct 25, 2019

Choose a reason for hiding this comment

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

How about:
to make sure all publish requests completed, either in success or error.

Please sign in to comment.