8000 fix: update StorageOptions to not overwrite any previously set host by BenWhitehead · Pull Request #1142 · googleapis/java-storage · GitHub
[go: up one dir, main page]

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
< 6E71 input type="hidden" data-csrf="true" name="authenticity_token" value="A/zjV0tkuba5rT6UBlTbJLI4y3IqPHFcIc4V4NW64U4I23gFZFX42N/5aIq1VubFe2774WaJItLf74FU5MWlOA==" />
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0