File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
google-cloud-core/src/main/java/com/google/cloud Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -214,8 +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 .setEndpoint (hostAndPort .getHostText () + ':' + hostAndPort .getPort ())
217+ providerBuilder .setEndpoint (serviceOptions .getHost ())
219218 .setClientLibHeader (ServiceOptions .getGoogApiClientLibName (),
220219 firstNonNull (ServiceOptions .getLibraryVersion (), "" ));
221220 Credentials scopedCredentials = serviceOptions .getScopedCredentials ();
You can’t perform that action at this time.
0 commit comments