actually fix all let_underscore_must_use lints
CI caught some more Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0877ee6191
commit
6269822613
8 changed files with 54 additions and 21 deletions
|
@ -124,7 +124,9 @@ pub(crate) async fn get_remote_pdu_list(
|
|||
|
||||
for pdu in list {
|
||||
if force {
|
||||
_ = get_remote_pdu(Vec::new(), Box::from(pdu), server.clone()).await;
|
||||
if let Err(e) = get_remote_pdu(Vec::new(), Box::from(pdu), server.clone()).await {
|
||||
warn!(%e, "Failed to get remote PDU, ignoring error");
|
||||
}
|
||||
} else {
|
||||
get_remote_pdu(Vec::new(), Box::from(pdu), server.clone()).await?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue