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

Bug 1427360 - Correctly handle 0 values in MetricsService #1312

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Mar 1, 2017

@spadgett spadgett requested a review from jwforres March 1, 2017 15:17
@@ -25,9 +25,10 @@ angular.module("openshiftConsole")

_.each(data, function(point) {
// Set point.value to the average or null if no average.
if (!point.value || point.value === "NaN") {
Copy link
Member Author

@spadgett spadgett Mar 1, 2017

Choose a reason for hiding this comment

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

@jwforres point.value is never set by Hawkular (for requests using buckets), so I removed this check.

Copy link
Member Author

Choose a reason for hiding this comment

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

@jwforres
Copy link
Member

jwforres commented Mar 1, 2017

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 0f99675

@openshift-bot
Copy link

openshift-bot commented Mar 1, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1126/) (Base Commit: 15ba89f)

@openshift-bot openshift-bot merged commit 8d4deed into openshift:master Mar 1, 2017
@spadgett spadgett deleted the fix-metrics-zero-values branch April 19, 2017 12:23
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.

3 participants