diff --git a/dashboard/app/build/build.go b/dashboard/app/build/build.go index 1a5bb49515..90ca344bd8 100644 --- a/dashboard/app/build/build.go +++ b/dashboard/app/build/build.go @@ -154,7 +154,7 @@ func (com *Commit) AddResult(c appengine.Context, r *Result) error { var resultExists bool for i, s := range com.ResultData { // if there already exists result data for this builder at com, overwrite it. - if strings.HasPrefix(s, r.Builder+"|") { + if strings.HasPrefix(s, r.Builder+"|") && strings.HasSuffix(s, "|"+r.GoHash) { resultExists = true com.ResultData[i] = r.Data() }