Commit f054e54
authored
chore(proxy/api-resolve): remove
see linkerd/linkerd2#8733 for more information.
see also, #3651 #3653, and #3654 for some related pull requests.
in hyper 1.x, `Incoming` bodies do not provide a `Default`
implementation. compare the trait implementations here:
* https://docs.rs/hyper/0.14.31/hyper/body/struct.Body.html#impl-Default-for-Body
* https://docs.rs/hyper/latest/hyper/body/struct.Incoming.html#trait-implementations
this commit removes `Default` bounds from `Resolve<S>`.
this means that in `linkerd-app`, we can invoke
`new_recover_default()` when using hyper 1.x (_see #3504_)
Signed-off-by: katelyn martin <[email protected]>Default bounds (#3656)1 parent 09a0c0f commit f054e54
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments