mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b2694b459f
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
|
||
---|---|---|
.. | ||
defs.go | ||
doc.go | ||
helpers.go | ||
helpers_test.go | ||
http_helpers.go | ||
http_helpers_test.go | ||
is.go |