Repository navigation
Remove --location from apphosting:backends:get and return the first backend if multiple are found. - #8260
Merged
Conversation
annajowang
marked this pull request as ready for review
February 26, 2025 15:43
annajowang
enabled auto-merge (squash)
February 26, 2025 15:45
…ackend if multiple are found.
annajowang
force-pushed
the
builds-get
branch
from
February 27, 2025 19:30
d39cce9 to
c4bc771
Compare
annajowang
disabled auto-merge
February 28, 2025 19:57
taeold
approved these changes
Mar 1, 2025
taeold
added a commit
that referenced
this pull request
Mar 24, 2025
* Update "location" => "primary region" in the backend display table. (#8205) * Remove --location from apphosting:backend:list. (#8272) * Remove --location from apphosting:rollouts:create and error when more than one backend is found. (#8271) * Remove --location from apphosting:backends:get and return the first backend if multiple are found. (#8260) * Remove `--location` from apphosting:backends:delete (#8262) * Remove --location from apphosting:backends:create and prompt for primary region. (#8264) * Enable FDC connector evolution and insecure operations linter. (#8281) * Enable FDC connector evolution and insecure operations linter. * Enable in VSCode. * Actually get VSCode working. * Replace pkg with yao-pkg/pkg (#8328) Co-authored-by: aalej <[email protected]> * List regions of duplicate backend in warning/error message (#8285) * Update dataconnect.yaml template to v1. (#8346) * Remove support for node 18 (#8334) --------- Co-authored-by: annajowang <[email protected]> Co-authored-by: Joe Hanley <[email protected]> Co-authored-by: Rosalyn Tan <[email protected]> Co-authored-by: aalej <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Remove
--locationfrom apphosting:backends:get and return the first backend in the list if multiple are found. We will also warn the user and tell them to delete the duplicate backends.Scenarios Tested
firebase apphosting:backends:get friendlybugs-codelabwhere multiple backends named friendlybugs-codelab existfirebase apphosting:backends:get friendlybugs-codelab-chickenwhere the backend does not exitfirebase apphosting:backends:get chickenbugswhere only one backend with this name exists.firebase apphosting:backends:get chickenbugs --location europ-west4returns "unknown option '--location'"