Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --location from apphosting:backends:get and return the first backend if multiple are found. #8260

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

annajowang
Copy link
Contributor

Description

Remove --location from 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-codelab where multiple backends named friendlybugs-codelab exist
firebase apphosting:backends:get friendlybugs-codelab-chicken where the backend does not exit
firebase apphosting:backends:get chickenbugs where only one backend with this name exists.
firebase apphosting:backends:get chickenbugs --location europ-west4 returns "unknown option '--location'"

@annajowang annajowang requested a review from taeold February 26, 2025 15:43
@annajowang annajowang linked an issue Feb 26, 2025 that may be closed by this pull request
@annajowang annajowang marked this pull request as ready for review February 26, 2025 15:43
@annajowang annajowang changed the base branch from master to next February 26, 2025 15:45
@annajowang annajowang enabled auto-merge (squash) February 26, 2025 15:45
@annajowang annajowang merged commit a5c7a17 into next Mar 3, 2025
83 of 91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove --location from apphosting commands
2 participants