Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 12, 2023
1 parent 2daa503 commit e7f22bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmonia/src/cacheinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub(crate) async fn get(config: web::Data<config::Config>) -> Result<HttpRespons
Ok(HttpResponse::Ok()
.insert_header((http::header::CONTENT_TYPE, "text/x-nix-cache-info"))
.body(
vec![
[
format!("StoreDir: {}", libnixstore::get_store_dir()),
"WantMassQuery: 1".to_owned(),
format!("Priority: {}", config.priority),
Expand Down

0 comments on commit e7f22bb

Please sign in to comment.