googleapis / googleapis/google-cloud-java
[sdk-platform-java] host is not updated when universe domain is specified
Đang mở
priority: p3
type: bug
- Ngôn ngữ chính
- Java
- Star
- 2.1k
- Fork
- 1.2k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 154
Mô tả
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`
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.