host is not updated when universe domain is specified #2911
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
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 returnsmy-universe-domain
, butstorage.getOptions.getHost()
just returnswww.googleapis.com
, when it should returnhttps://storage.my-universe-domain.com
The text was updated successfully, but these errors were encountered: