refactor: influxdb2_client/src/api/setup.rs
@@ -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()?
}
