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

Unified Diff: appengine/cmd/cron/engine/engine.go

Issue 1359813004: Use new StringID function. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/cron/engine/engine.go
diff --git a/appengine/cmd/cron/engine/engine.go b/appengine/cmd/cron/engine/engine.go
index fbfcd5114e9425f2808acce27992c7b19928464e..78d2bd3fe3af0141334808723966eee875354abc 100644
--- a/appengine/cmd/cron/engine/engine.go
+++ b/appengine/cmd/cron/engine/engine.go
@@ -215,7 +215,7 @@ func (e *engineImpl) ResetAllJobsOnDevServer(c context.Context) error {
for i, key := range keys {
wg.Add(1)
go func(i int, key *datastore.Key) {
- errs.Assign(i, e.resetJob(c, key.Last().StringID))
+ errs.Assign(i, e.resetJob(c, key.StringID()))
wg.Done()
}(i, key)
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698