appease clippy

This commit is contained in:
Will Greenberg
2024-02-22 19:29:45 -08:00
parent 775cbcda1e
commit 0b6c06c7e6
4 changed files with 12 additions and 14 deletions

View File

@@ -103,10 +103,10 @@ pub async fn get_system_stats(State(state): State<Arc<ServerState>>) -> Result<J
Ok(stats) => Ok(Json(stats)),
Err(err) => {
error!("error getting system stats: {}", err);
return Err((
Err((
StatusCode::INTERNAL_SERVER_ERROR,
"error getting system stats".to_string()
));
))
},
}
}