mirror of
https://github.com/containers/youki
synced 2024-11-23 09:21:57 +01:00
appease the great clippy
This commit is contained in:
parent
d3133c5da7
commit
923c0c46b2
@ -67,7 +67,7 @@ fn get_network_interfaces() -> Option<(String, String)> {
|
||||
let lo_if_name = interfaces.get(0).map(|iface| &iface.name)?;
|
||||
let eth_if_name = interfaces.get(1).map(|iface| &iface.name)?;
|
||||
|
||||
return Some((lo_if_name.to_string(), eth_if_name.to_string()));
|
||||
Some((lo_if_name.to_string(), eth_if_name.to_string()))
|
||||
}
|
||||
|
||||
fn test_network_cgroups() -> TestResult {
|
||||
|
Loading…
Reference in New Issue
Block a user