| Index: scheduler/appengine/task/utils/apiclient.go
|
| diff --git a/scheduler/appengine/task/utils/apiclient.go b/scheduler/appengine/task/utils/apiclient.go
|
| index 85f83252c1a0bdcd6a0d935cd37b50b810d5319b..da693a2ab3c91c51cda43efaf2f792ca86c92941 100644
|
| --- a/scheduler/appengine/task/utils/apiclient.go
|
| +++ b/scheduler/appengine/task/utils/apiclient.go
|
| @@ -5,7 +5,7 @@
|
| package utils
|
|
|
| import (
|
| - "github.com/luci/luci-go/common/errors"
|
| + "github.com/luci/luci-go/common/retry/transient"
|
| "google.golang.org/api/googleapi"
|
| )
|
|
|
| @@ -26,7 +26,7 @@ func IsTransientAPIError(err error) bool {
|
| // necessary.
|
| func WrapAPIError(err error) error {
|
| if IsTransientAPIError(err) {
|
| - return errors.WrapTransient(err)
|
| + return transient.Tag.Apply(err)
|
| }
|
| return err
|
| }
|
|
|