Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: milo/appengine/swarming/html_data.go

Issue 2944633003: [milo] Add BuildSummary and common models. (Closed)
Patch Set: add comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/appengine/swarming/build.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/swarming/html_data.go
diff --git a/milo/appengine/swarming/html_data.go b/milo/appengine/swarming/html_data.go
index 9aac1107109f085a42c0a9cfea99ada2e66de595..2cd02e49c0d100adfd437ef3f930c4e7f1462e01 100644
--- a/milo/appengine/swarming/html_data.go
+++ b/milo/appengine/swarming/html_data.go
@@ -29,6 +29,7 @@ import (
"github.com/luci/luci-go/luci_config/server/cfgclient/backend/testconfig"
"github.com/luci/luci-go/milo/api/resp"
"github.com/luci/luci-go/milo/appengine/common"
+ "github.com/luci/luci-go/milo/appengine/common/model"
"github.com/luci/luci-go/server/auth"
"github.com/luci/luci-go/server/auth/authtest"
"github.com/luci/luci-go/server/templates"
@@ -236,7 +237,7 @@ func BuildTestData() []common.TestBundle {
basic := resp.MiloBuild{
Summary: resp.BuildComponent{
Label: "Test swarming build",
- Status: resp.Success,
+ Status: model.Success,
Started: time.Date(2016, 1, 2, 15, 4, 5, 999999999, time.UTC),
Finished: time.Date(2016, 1, 2, 15, 4, 6, 999999999, time.UTC),
Duration: time.Second,
« no previous file with comments | « milo/appengine/swarming/build.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698