Skip to content

Commit

Permalink
Update src/exporter.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jan <[email protected]>
  • Loading branch information
enola-dkfz and Threated authored Apr 17, 2024
1 parent e278c2e commit 9ab6d1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ pub async fn post_exporter_query(body: &String, execute: bool) -> Result<String,
StatusCode::OK => {
let text = resp.text().await;
match text {
Ok(ok_text) => {
format!("{}", ok_text)

}
Ok(ok_text) => ok_text,
Err(e) => {
warn!(
"The code was 200 OK, but can't get the body of the Exporter's response, while {} query; reply was `{}`, error: {}",
Expand Down

0 comments on commit 9ab6d1b

Please sign in to comment.