-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(storage): consistent project id overrides (#11754)
Use the same function to determine the project id in all functions that require one: - If the function consumes a `project_id` argument, then use that. - If the application provides a `OverrideDefaultProject` request option (i.e., via some variadic argument) then use that. - Otherwise use the value configured via the `Options{}`, including any per-call `Options`. - Use `GOOGLE_CLOUD_PROJECT` to initialize the `Options{}`, if present. - Return an error if no value can be found for the project id.
- Loading branch information
Showing
16 changed files
with
1,201 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.