[skip travis] Fix formatting in field
This commit is contained in:
parent
25d0ae45b4
commit
9b11e7ea9c
|
@ -69,8 +69,8 @@ pub fn update_disk_row(app_data: &data_collection::Data) -> Vec<Vec<String>> {
|
||||||
disk.name.to_string(),
|
disk.name.to_string(),
|
||||||
disk.mount_point.to_string(),
|
disk.mount_point.to_string(),
|
||||||
format!("{:.0}%", disk.used_space as f64 / disk.total_space as f64 * 100_f64),
|
format!("{:.0}%", disk.used_space as f64 / disk.total_space as f64 * 100_f64),
|
||||||
format!("{:4.*}{}", 0, converted_free_space.0, converted_free_space.1),
|
format!("{:.*}{}", 0, converted_free_space.0, converted_free_space.1),
|
||||||
format!("{:4.*}{}", 0, converted_total_space.0, converted_total_space.1),
|
format!("{:.*}{}", 0, converted_total_space.0, converted_total_space.1),
|
||||||
io_activity.0,
|
io_activity.0,
|
||||||
io_activity.1,
|
io_activity.1,
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue