Skip to content

Commit

Permalink
Fix snippet typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed May 10, 2017
1 parent 3df8543 commit d9394a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pubsub_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def client_subscription(client, to_delete): # pylint: disable=unused-argument
SUBSCRIPTION_NAME = 'subscription_factory-%d' % (_millis(),)

# [START client_subscription]
subscription = client.topic(
subscription = client.subscription(
SUBSCRIPTION_NAME, ack_deadline=60,
retain_acked_messages=True)
# [END client_subscription]
Expand Down

0 comments on commit d9394a8

Please sign in to comment.