googleapis / googleapis/google-cloud-java

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

Aperta
#12,429 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
priority: p3 type: bug
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

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`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.