googleapis / googleapis/google-cloud-java

[sdk-platform-java] host is not updated when universe domain is specified

未关闭
#12,429 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: bug
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

When a client specifies a universe domain, the `host` value does not get automatically updated to match. For example, if I create a storage client:

`Storage storage = StorageOptions.grpc().setUniverseDomain("my-universe-domain.com").build().getService();`

Then
`storage.getOptions().getUniverseDomain()` properly returns `my-universe-domain`, but `storage.getOptions.getHost()` just returns `www.googleapis.com`, when it should return `https://storage.my-universe-domain.com`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。