refactor: influxdb2_client/src/api/setup.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>pull/24376/head
parent
2738c6a35f
commit
768c2d6eb7
|
@ -19,8 +19,7 @@ impl Client {
|
|||
.json::<IsOnboarding>()
|
||||
.await
|
||||
.context(ReqwestProcessing)?),
|
||||
_ => {
|
||||
let status = response.status();
|
||||
status => {
|
||||
let text = response.text().await.context(ReqwestProcessing)?;
|
||||
Http { status, text }.fail()?
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue