Fixes from clippy
This commit is contained in:
parent
01b47fb010
commit
42a033a50b
@ -156,9 +156,7 @@ async fn main() {
|
|||||||
origin_store,
|
origin_store,
|
||||||
domain_config_store,
|
domain_config_store,
|
||||||
domain_checker,
|
domain_checker,
|
||||||
https_params
|
https_params.as_ref().map(|p| p.domain_acme_manager.clone()),
|
||||||
.as_ref()
|
|
||||||
.and_then(|p| Some(p.domain_acme_manager.clone())),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
wait_group.push({
|
wait_group.push({
|
||||||
@ -296,7 +294,7 @@ async fn main() {
|
|||||||
|
|
||||||
// HTTPS server
|
// HTTPS server
|
||||||
wait_group.push({
|
wait_group.push({
|
||||||
let https_params = https_params.clone();
|
let https_params = https_params;
|
||||||
let http_domain = config.http_domain.clone();
|
let http_domain = config.http_domain.clone();
|
||||||
let canceller = canceller.clone();
|
let canceller = canceller.clone();
|
||||||
let service = service.clone();
|
let service = service.clone();
|
||||||
|
@ -316,7 +316,7 @@ where
|
|||||||
|
|
||||||
domains.sort();
|
domains.sort();
|
||||||
|
|
||||||
self.render_page("/domains.html", Response { domains: domains })
|
self.render_page("/domains.html", Response { domains })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user