1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/errdefs
Sebastiaan van Stijn b2694b459f
errdefs: remove unneeded recursive calls
The `statusCodeFromGRPCError` and `statusCodeFromDistributionError`
helpers are used by `GetHTTPErrorStatusCode`, which already recurses
if the error implements the `Causer` interface.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 32f4fdfb5c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-17 10:10:03 +01:00
..
defs.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00
doc.go
helpers.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00
helpers_test.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00
http_helpers.go errdefs: remove unneeded recursive calls 2020-01-17 10:10:03 +01:00
http_helpers_test.go Move httputils error helpers to errdefs package 2019-03-16 00:42:23 +01:00
is.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00