clippy pleaser

This commit is contained in:
lda committed 2026-05-03 15:47:16 +07:00 Verified
1 parent 3f8abc1571
commit 7e8e1fca23
8 files changed
+22 -21

No files matched your search

+4 -4
View File
@@ -84,7 +84,7 @@ pub async fn alert_history(
ApiError::new(
StatusCode::INTERNAL_SERVER_ERROR,
"alert_history_failed",
&err.to_string(),
err.to_string(),
)
})?;
@@ -185,7 +185,7 @@ async fn evaluate_alerts(
ApiError::new(
StatusCode::INTERNAL_SERVER_ERROR,
"alerts_query_failed",
&err.to_string(),
err.to_string(),
)
})?;
@@ -204,7 +204,7 @@ async fn evaluate_alerts(
ApiError::new(
StatusCode::INTERNAL_SERVER_ERROR,
"alerts_query_failed",
&err.to_string(),
err.to_string(),
)
})?;
@@ -223,7 +223,7 @@ async fn evaluate_alerts(
ApiError::new(
StatusCode::INTERNAL_SERVER_ERROR,
"alerts_query_failed",
&err.to_string(),
err.to_string(),
)
})?;