-
Notifications
You must be signed in to change notification settings - Fork 118
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
Initial Attempt at JSON Support #12
Conversation
fmt.Printf("%s", jsonRaw) | ||
} | ||
|
||
func (jp *jsonPrinter) buildJSONClusterMetrics() jsonClusterMetrics { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might not need to be a pointer ref method
return response | ||
} | ||
|
||
func (jp *jsonPrinter) buildJSONResourceOutput(item *resourceMetric) *jsonResourceOutput { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might not need to be a pointer ref method of jsonPrinter
* Moved `cluster` wording to `cluster_totals` for more clarity on valued within
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! Thanks so much for all the work on this, it looks great. I'm going to merge this in and maybe try to tackle one of the other issues this weekend before I bundle this into a new release.
Changes
Problems / Considerations