Skip to content

Commit

Permalink
Removing host from beta stub factory.
Browse files Browse the repository at this point in the history
It is only needed as an optional over-ride, otherwise
the host from the channel is sufficient.
  • Loading branch information
dhermes committed Nov 27, 2015
1 parent d8aeda5 commit 0f26ad2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion gcloud_bigtable/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def make_stub(client, stub_factory, host, port):
channel = implementations.secure_channel(
host, port, client_credentials)
custom_metadata_transformer = MetadataTransformer(client)
return stub_factory(channel, host=host,
return stub_factory(channel,
metadata_transformer=custom_metadata_transformer)


Expand Down
1 change: 0 additions & 1 deletion gcloud_bigtable/test__helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ def test_it(self):
self,
[(channel,)],
[{
'host': host,
'metadata_transformer': transformed,
}],
)
Expand Down

0 comments on commit 0f26ad2

Please sign in to comment.