Skip to content

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

Description

@JesseLovelace

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions