From d183041bb04542dd7aa48b4dca4c31ba25bbe676 Mon Sep 17 00:00:00 2001 From: Dmitriy Vyukov Date: Wed, 22 Oct 2014 17:44:46 +0400 Subject: [PATCH] dashboard: update update script to delete Commit.PerfResult This is required to repair perf data in the datastore. Update golang/go#8930. LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/158320043 --- dashboard/app/build/update.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/app/build/update.go b/dashboard/app/build/update.go index 5810c6f6..c276a6a3 100644 --- a/dashboard/app/build/update.go +++ b/dashboard/app/build/update.go @@ -58,6 +58,7 @@ func updateBenchmark(w http.ResponseWriter, r *http.Request) { continue } com.NeedsBenchmarking = true + com.ResultData = nil if err := putCommit(c, com); err != nil { return err }