You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-10-14T18:23:21.682303Z WARN kube_client::client: Unsuccessful data error parse: 404 page not found
at /home/tiago/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/client/mod.rs:445
Also, notice that there''s a new line in there!
Not sure what the expected behaviour should be, though this does look a little strange.
Possible solution
No response
Additional context
This is easy to reproduce:
let res = client.send(req.map(hyper::Body::from)).await.unwrap();
println!("res: {res:#?}");
let body_bytes = hyper::body::to_bytes(res.into_body())
.await
.map_err(kube::Error::HyperError)?;
let text = String::from_utf8(body_bytes.to_vec()).map_err(kube::Error::FromUtf8)?;
println!("body: Begin{text}End");
Current and expected behavior
Issuing a get for a CRD yields a tracing warn:
Also, notice that there''s a new line in there!
Not sure what the expected behaviour should be, though this does look a little strange.
Possible solution
No response
Additional context
This is easy to reproduce:
Which yields:
Environment
Configuration and features
Affected crates
No response
Would you like to work on fixing this bug?
maybe
The text was updated successfully, but these errors were encountered: