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

Unified Diff: appengine/cmd/milo/swarming/build.go

Issue 2141013003: milo: fix build/step timing (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: retrain Created 4 years, 5 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 | « appengine/cmd/milo/settings/funcs_test.go ('k') | appengine/cmd/milo/swarming/build_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/milo/swarming/build.go
diff --git a/appengine/cmd/milo/swarming/build.go b/appengine/cmd/milo/swarming/build.go
index 01d2fa51cf37c10c5f8062aa5f662d2834de63d5..1ad929a5a59b1e8e69801a1e5b5fbdf6c51521c7 100644
--- a/appengine/cmd/milo/swarming/build.go
+++ b/appengine/cmd/milo/swarming/build.go
@@ -253,7 +253,7 @@ func taskToBuild(c context.Context, server string, sr *swarming.SwarmingRpcsTask
}
}
if sr.CompletedTs != "" {
- build.Summary.Finished, err = time.Parse(SwarmingTimeLayout, sr.StartedTs)
+ build.Summary.Finished, err = time.Parse(SwarmingTimeLayout, sr.CompletedTs)
if err != nil {
return nil, fmt.Errorf("invalid task CompletedTs: %s", err)
}
« no previous file with comments | « appengine/cmd/milo/settings/funcs_test.go ('k') | appengine/cmd/milo/swarming/build_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698