aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-02-26 10:31:53 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-26 10:31:53 +0100
commit951ea18d6acd9ba5a292f68bc9be77dddc4c8845 (patch)
treec58291e4ae316bf59b309c496441532df520285f /dashboard
parent572ed211cea4449a7e78d838dc910f2e5ada7d01 (diff)
dashboard/app: remove redundant field update
NumCrashesBad is set in updateBugBadness.
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/app/main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/dashboard/app/main.go b/dashboard/app/main.go
index 7962b660e..d13006a54 100644
--- a/dashboard/app/main.go
+++ b/dashboard/app/main.go
@@ -500,7 +500,6 @@ func createUIBug(c context.Context, bug *Bug, state *ReportingState, managers []
Namespace: bug.Namespace,
Title: bug.displayTitle(),
NumCrashes: bug.NumCrashes,
- NumCrashesBad: bug.NumCrashes >= 10000 && timeNow(c).Sub(bug.LastTime) < 24*time.Hour,
FirstTime: bug.FirstTime,
LastTime: bug.LastTime,
ReportedTime: reported,