rustfmt
This commit is contained in:
@@ -78,10 +78,10 @@ fn bond_status(d: &Path) -> io::Result<Vec<BondingInfo>> {
|
||||
let mut bl = Vec::new();
|
||||
let bond_info = BondingInfo {
|
||||
bond: d
|
||||
.file_name()
|
||||
.unwrap_or(OsStr::new("unknown"))
|
||||
.to_string_lossy()
|
||||
.to_string(),
|
||||
.file_name()
|
||||
.unwrap_or(OsStr::new("unknown"))
|
||||
.to_string_lossy()
|
||||
.to_string(),
|
||||
master_state: fs::read_to_string(d.join("bonding/mii_status"))?.trim().to_string(),
|
||||
slave: "".to_string(),
|
||||
slave_state: "".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user