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

Unified Diff: milo/api/resp/builder.go

Issue 2944633003: [milo] Add BuildSummary and common models. (Closed)
Patch Set: 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
Index: milo/api/resp/builder.go
diff --git a/milo/api/resp/builder.go b/milo/api/resp/builder.go
index 46a30fe42a90870a7e15c6534760eff561072731..7b21dade48b2d513f35a5bbf797d520a9f9679b1 100644
--- a/milo/api/resp/builder.go
+++ b/milo/api/resp/builder.go
@@ -4,7 +4,11 @@
package resp
-import "time"
+import (
+ "time"
+
+ "github.com/luci/luci-go/milo/appengine/common/model"
+)
// Interval is a time interval which has a start, an end and a duration.
type Interval struct {
@@ -21,7 +25,7 @@ type BuildSummary struct {
Link *Link
// Status of the build.
- Status Status
+ Status model.Status
// Pending is time interval that this build was pending.
PendingTime Interval

Powered by Google App Engine
This is Rietveld 408576698