mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
fix(fmt): fix cargo fmt to pass static check
Fix cargo fmt Fixes: #5639 Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
This commit is contained in:
parent
1bbcb413c9
commit
c3f1922df6
@ -85,9 +85,7 @@ async fn generic_ip_table_handler(
|
|||||||
let body = Body::from(data);
|
let body = Body::from(data);
|
||||||
Response::builder().body(body).map_err(|e| anyhow!(e))
|
Response::builder().body(body).map_err(|e| anyhow!(e))
|
||||||
}
|
}
|
||||||
_ => {
|
_ => Err(anyhow!("Failed to get iptable")),
|
||||||
Err(anyhow!("Failed to get iptable"))
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
Method::PUT => {
|
Method::PUT => {
|
||||||
|
Loading…
Reference in New Issue
Block a user