Skip to content

Comments

Fixed the wrong API call being made when customer wants to fetch all deployments#1746

Merged
neel-astro merged 6 commits intomainfrom
bf/6602
Dec 5, 2024
Merged

Fixed the wrong API call being made when customer wants to fetch all deployments#1746
neel-astro merged 6 commits intomainfrom
bf/6602

Conversation

@rujhan-arora-astronomer
Copy link
Contributor

@rujhan-arora-astronomer rujhan-arora-astronomer commented Nov 19, 2024

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)

Related #6602

🧪 Functional Testing

Run astro deployment list --all. It should list all the deployments irrespective of workspace.

📸 Screenshots

Screenshot 2024-11-19 at 7 45 14 PM Screenshot 2024-11-19 at 7 45 05 PM

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before 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

@rujhan-arora-astronomer
Copy link
Contributor Author

Gentle reminder @kushalmalani @jeremybeard @neel-astro

Copy link
Contributor

@jeremybeard jeremybeard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit comment but approving ahead of that

@rujhan-arora-astronomer
Copy link
Contributor Author

@jeremybeard Addressed the nitpick. Can you merge this too plz, thank you!

@neel-astro neel-astro merged commit 59c572d into main Dec 5, 2024
@neel-astro neel-astro deleted the bf/6602 branch December 5, 2024 13:29
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.

3 participants