Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add proxy
Body::collect_bytes
for easier unit tests (#1445)
* Expose `Body::collect` for easier unit tests Avoids people having to pull in `http_body_util` for the `BodyExt` Signed-off-by: clux <sszynrae@gmail.com> * avoid opaque Collect and Collected and await + into_bytes instead Signed-off-by: clux <sszynrae@gmail.com> * Update kube-client/src/client/body.rs Co-authored-by: Matei David <matei.david.35@gmail.com> Signed-off-by: Eirik A <sszynrae@gmail.com> * Update kube-client/src/client/body.rs Co-authored-by: Matei David <matei.david.35@gmail.com> Signed-off-by: Eirik A <sszynrae@gmail.com> --------- Signed-off-by: clux <sszynrae@gmail.com> Signed-off-by: Eirik A <sszynrae@gmail.com> Co-authored-by: Matei David <matei.david.35@gmail.com>
- Loading branch information