Skip to content

Conversation

@BenWhitehead
Copy link
Collaborator

When calling StorageOptions#toBuilder() after creating the builder the host was explicitly set to the default host. This change removes that behavior instead moving the setting of the default host to the instantiation of a new builder.

Add unit tests to ensure host is set to the expected values based on different ways of creating an instance of StorageOptions.

Related:

When calling `StorageOptions#toBuilder()` after creating the builder the host was explicitly set to the default host. This change removes that behavior instead moving the setting of the default host to the instantiation of a new builder. Add unit tests to ensure host is set to the expected values based on different ways of creating an instance of StorageOptions. Related: * googleapis/google-cloud-java#6579 * googleapis/google-cloud-java#7004 * googleapis/google-cloud-java#7034
@BenWhitehead BenWhitehead requested a review from a team as a code owner November 10, 2021 22:07
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/java-storage API. label Nov 10, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 10, 2021
@BenWhitehead BenWhitehead merged commit 05375c0 into googleapis:main Nov 18, 2021
@BenWhitehead BenWhitehead deleted the fix-setHost branch November 18, 2021 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. cla: yes This human has signed the Contributor License Agreement.

2 participants