We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d77462f + dfa0dd5 commit fef7fdcCopy full SHA for fef7fdc
kube-client/src/client/auth/oauth.rs
@@ -144,7 +144,7 @@ impl Gcp {
144
// Convert response body to `Vec<u8>` for parsing.
145
let (parts, body) = res.into_parts();
146
let bytes = body.collect().await.map_err(Error::ConcatBuffers)?.to_bytes();
147
- let response = http::Response::from_parts(parts, bytes.to_vec());
+ let response = http::Response::from_parts(parts, bytes);
148
match self.provider.parse_token_response(scope_hash, response) {
149
Ok(token) => Ok(token),
150
0 commit comments