Skip to content

Cleanup metrics statuses #475

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
merged 4 commits into from
Sep 18, 2019
Merged

Cleanup metrics statuses #475

merged 4 commits into from
Sep 18, 2019

Conversation

vishalbollu
Copy link
Contributor

Closes #


Checklist:

  • Run make test and make lint
  • Test end to end manually (e.g. build/push all images, restart operator, and run cx refresh)
  • Update examples
  • Update documentation (add any new files to summary.md)
  • Merge to master
  • Cherry-pick into release branches if it's a bugfix
  • Check gitbook that docs look good and links function properly
  • Alert team if dev environment changed
  • Delete the branch once it's merged

@vishalbollu vishalbollu requested a review from deliahu September 18, 2019 20:10
cli/cmd/get.go Outdated
if apiMetrics != nil {
numClasses = len(apiMetrics.ClassDistribution)
}
classList := make([]string, numClasses)

i := 0
for inputName := range apiMetrics.ClassDistribution {
Copy link
Member

Choose a reason for hiding this comment

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

Will this be a nil pointer if apiMetrics is nil? (same question for other references to apiMetrics in this function)

@vishalbollu vishalbollu merged commit a0d6f80 into master Sep 18, 2019
@vishalbollu vishalbollu deleted the metrics-status-cleanup branch September 18, 2019 21:24
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