Skip to content

Support JSON output of machine VM sizes #4297

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grgar
Copy link
Contributor

@grgar grgar commented Apr 8, 2025

Regressed in bd6d966 according to bisect.

Previously the JSON output format included priceMonth and priceSecond as it was a dump of fly.VMSize returned from the API, but the function which returned this information (client.PlatformVMSizes) has also been removed in a different change. Since the non-JSON format doesn't include this information, that's probably a future enhancement to add it to both tabular output and JSON output, and apparently the exact format of the JSON is not important per the linked issue as it is not documented.

- Fixes superfly#4146

Regressed in bd6d966 according to bisect.

Previously the JSON output format included priceMonth and priceSecond as it was a dump of [fly.VMSize](https://pkg.go.dev/github.com/superfly/fly-go#VMSize) returned from the API, but the function which returned this information has been removed in a different change. Since the non-JSON format doesn't include this information, that's probably a future enhancement to add it to both.
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.

Command 'flyctl platform vm-sizes --json' does not print output in JSON format
1 participant