Fixed the wrong API call being made when customer wants to fetch all deployments by rujhan-arora-astronomer · Pull Request #1746 · astronomer/astro-cli
Description
Fixed the wrong API call being made when a customer wants to fetch all deployments.
When a customer wants to fetch all deployments, the cli right now makes a call to an API which requires workspace ID. So, I am using another api instead which should return all the deployments.
🎟 Issue(s)
🧪 Functional Testing
Run astro deployment list --all. It should list all the deployments irrespective of workspace.
📸 Screenshots
📋 Checklist
- Rebased from the main (or release if patching) branch (before testing)
- Ran
make testbefore taking out of draft - Ran
make lintbefore taking out of draft - Added/updated applicable tests
- Tested against Astro-API (if necessary).
- Tested against Houston-API and Astronomer (if necessary).
- Communicated to/tagged owners of respective clients potentially impacted by these changes.
- Updated any related documentation

