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

Unified Diff: go/src/infra/gae/libs/gae/memory/taskqueue_data.go

Issue 1234343006: Some miscellaneous fixes: (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 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 | « go/src/infra/gae/libs/gae/memory/globalinfo.go ('k') | go/src/infra/gae/libs/gae/memory/taskqueue_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/gae/libs/gae/memory/taskqueue_data.go
diff --git a/go/src/infra/gae/libs/gae/memory/taskqueue_data.go b/go/src/infra/gae/libs/gae/memory/taskqueue_data.go
index 3e96e4fa7891a1162b9918edf8c8f85cdc3456d8..bfdda8472052d15e7c4b441420fb0f93844753c9 100644
--- a/go/src/infra/gae/libs/gae/memory/taskqueue_data.go
+++ b/go/src/infra/gae/libs/gae/memory/taskqueue_data.go
@@ -136,7 +136,7 @@ func (t *taskQueueData) prepTask(c context.Context, ns string, task *gae.TQTask,
toSched := dupTask(task)
if toSched.Path == "" {
- return nil, "", errors.New("INVALID_URL")
+ toSched.Path = "/_ah/queue/" + queueName
}
if toSched.ETA.IsZero() {
« no previous file with comments | « go/src/infra/gae/libs/gae/memory/globalinfo.go ('k') | go/src/infra/gae/libs/gae/memory/taskqueue_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698