Skip to content

Add total cost on cluster create dry run #400

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

Merged

Conversation

jdewinne
Copy link
Member

@jdewinne jdewinne commented Jul 7, 2024

image image

marccampbell
marccampbell previously approved these changes Jul 18, 2024
FlatFee int64 `json:"flat_fee"`
TotalCredits int64 `json:"total_credits"`

EstimatedCost int64 `json:"_"`
Copy link
Member

Choose a reason for hiding this comment

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

is this supposed to be a hyphen?

FlatFee int64 `json:"flat_fee"`
TotalCredits int64 `json:"total_credits"`

EstimatedCost int64
Copy link
Member

Choose a reason for hiding this comment

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

Not sure what you are going for here. Shouldn't this have some sort of json tag? If you were to list clusters --output json this probable doesn't look right the way it is.

Copy link
Member Author

@jdewinne jdewinne Jul 22, 2024

Choose a reason for hiding this comment

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

You're right. I was thinking as EstimatedCost is calculated (part of dry-run, or calculated for cluster list), it didn't have to go into json, but totally forgot about --output=json

@marccampbell marccampbell merged commit 3fc059b into main Jul 23, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants