Skip to content

Commit fa31e64

Browse files
authored
---
yaml --- r: 7963 b: refs/heads/tswast-patch-1 c: c2fb49e h: refs/heads/master i: 7961: ce89135 7959: 4085e61
1 parent e5fe350 commit fa31e64

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: c531a0a0f1e59b10044c7941fdf77165e701d88a
60+
refs/heads/tswast-patch-1: c2fb49ea1efafd8be4605aaae03bde7bfd57d0e3
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings)
214214
*/
215215
public static ChannelProvider setUpChannelProvider(
216216
InstantiatingChannelProvider.Builder providerBuilder, ServiceOptions<?, ?> serviceOptions) {
217-
HostAndPort hostAndPort = HostAndPort.fromString(serviceOptions.getHost());
218-
providerBuilder.setServiceAddress(hostAndPort.getHostText())
219-
.setPort(hostAndPort.getPort())
217+
providerBuilder.setEndpoint(serviceOptions.getHost())
220218
.setClientLibHeader(ServiceOptions.getGoogApiClientLibName(),
221219
firstNonNull(ServiceOptions.getLibraryVersion(), ""));
222220
Credentials scopedCredentials = serviceOptions.getScopedCredentials();

0 commit comments

Comments
 (0)