mirror of
https://github.com/LastExceed/spacermake.git
synced 2025-03-12 23:11:44 +01:00
fix missing log file extension
This commit is contained in:
parent
938dffc63d
commit
885548177b
@ -33,7 +33,7 @@ pub fn machinelog(machine: &str, booking: &Booking) -> io::Result<()> {
|
|||||||
|
|
||||||
File::options()
|
File::options()
|
||||||
.append(true)
|
.append(true)
|
||||||
.open("/root/machinelog")?
|
.open("/root/machinelog.csv")?
|
||||||
.pipe(csv::Writer::from_writer)
|
.pipe(csv::Writer::from_writer)
|
||||||
.serialize(record)
|
.serialize(record)
|
||||||
.map_err(|_| io::ErrorKind::Other.into())
|
.map_err(|_| io::ErrorKind::Other.into())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user