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

Unified Diff: impl/memory/taskqueue.go

Issue 1249863004: Remove most error code from luci/gae (Closed) Base URL: https://github.com/luci/gae.git@simplify_rds
Patch Set: get rid of goofy lerrs imports 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 | « impl/memory/raw_datastore_data.go ('k') | impl/prod/memcache.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/taskqueue.go
diff --git a/impl/memory/taskqueue.go b/impl/memory/taskqueue.go
index e80872b5fee84d0c843467d907cee05eb7035162..7b09af1a6602857a1836155a73c180395ae12ece 100644
--- a/impl/memory/taskqueue.go
+++ b/impl/memory/taskqueue.go
@@ -5,15 +5,14 @@
package memory
import (
- "errors"
"net/http"
"regexp"
"golang.org/x/net/context"
- "github.com/luci/gae"
"github.com/luci/gae/impl/dummy"
tq "github.com/luci/gae/service/taskqueue"
+ "github.com/luci/luci-go/common/errors"
"github.com/luci/luci-go/common/mathrand"
)
@@ -209,7 +208,7 @@ func mkName(c context.Context, cur string, queue map[string]*tq.Task) string {
func multi(tasks []*tq.Task, queueName string, f func(*tq.Task, string) (*tq.Task, error)) ([]*tq.Task, error) {
ret := []*tq.Task(nil)
- lme := gae.LazyMultiError{Size: len(tasks)}
+ lme := errors.LazyMultiError{Size: len(tasks)}
for i, task := range tasks {
rt, err := f(task, queueName)
ret = append(ret, rt)
« no previous file with comments | « impl/memory/raw_datastore_data.go ('k') | impl/prod/memcache.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698