This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Commit dd7239f
committed
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 32f4fdfb5c8846922302c20fdcab973227eb9bd6)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: b2694b459fc9653420c2a62d7301fbb61f47727c
Component: engine1 parent a62d4a6 commit dd7239f
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 144 | | |
148 | 145 | | |
149 | 146 | | |
| |||
168 | 165 | | |
169 | 166 | | |
170 | 167 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 168 | | |
176 | 169 | | |
177 | 170 | | |
| |||
0 commit comments