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

feat: update beta logs logic #1775

Merged
merged 3 commits into from
May 21, 2024
Merged

feat: update beta logs logic #1775

merged 3 commits into from
May 21, 2024

Conversation

jonaro00
Copy link
Member

No description provided.

cargo-shuttle/src/args.rs Outdated Show resolved Hide resolved
cargo-shuttle/src/client.rs Outdated Show resolved Hide resolved
let depls = client.get_deployments_beta(proj_name).await?;
let depl = depls
.first()
.expect("at least one deployment in this project");
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion(non-blocking): we might want to return a proper error to the user instead of panicking. Can be done in an other PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah fixing the "current deployment" endpoint is probably what we want.

@jonaro00 jonaro00 merged commit 60e2d26 into shuttle-hq:main May 21, 2024
24 checks passed
@jonaro00 jonaro00 deleted the beta-logs branch May 21, 2024 08:16
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.

2 participants