Skip to content

Commit

Permalink
Merge pull request googleapis#2909 from daspecster/fix-pubsub-grpc-cr…
Browse files Browse the repository at this point in the history
…edentials

Fix for pubsub scope error.
  • Loading branch information
daspecster authored Jan 3, 2017
2 parents 1ae1fc5 + 04b353a commit cc10ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pubsub/google/cloud/pubsub/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def publisher_api(self):
host=self._connection.host)
else:
generated = make_gax_publisher_api(
credentials=self._credentials)
credentials=self._connection._credentials)
self._publisher_api = GAXPublisherAPI(generated, self)
else:
self._publisher_api = JSONPublisherAPI(self)
Expand All @@ -112,7 +112,7 @@ def subscriber_api(self):
host=self._connection.host)
else:
generated = make_gax_subscriber_api(
credentials=self._credentials)
credentials=self._connection._credentials)
self._subscriber_api = GAXSubscriberAPI(generated, self)
else:
self._subscriber_api = JSONSubscriberAPI(self)
Expand Down

0 comments on commit cc10ac3

Please sign in to comment.