Chromium Code Reviews| Index: appengine/datastorecache/cache.go |
| diff --git a/appengine/datastorecache/cache.go b/appengine/datastorecache/cache.go |
| index 3b5d38f2f30060030875b3f806a79051d4a2250f..841349b4e614af8dc0643f22223097c576549d56 100644 |
| --- a/appengine/datastorecache/cache.go |
| +++ b/appengine/datastorecache/cache.go |
| @@ -336,7 +336,7 @@ func (bci *boundCacheInst) get(c context.Context, key []byte) (Value, error) { |
| case ErrFailedToLock: |
| // Retry after delay. |
| - return errors.WrapTransient(err) |
| + return retry.Tag.Apply(err) |
|
dnj
2017/06/24 14:53:54
I don't like "retry.Tag.Apply" as a way of express
iannucci
2017/06/24 20:16:09
Done.
|
| default: |
| log.WithError(err).Warningf(c, "Unexpected failure obtaining initial load lock.") |