fix(pkg/logfile): use one instead of several logfiles for all measured values
This commit is contained in:
@ -23,7 +23,7 @@ var listTemperatureCmd = &cobra.Command{
|
||||
log.Fatalln(err)
|
||||
}
|
||||
|
||||
logfile := logfile.New(cnf.Device.TemperatureLogfile)
|
||||
logfile := logfile.New(cnf.Device.Logfile)
|
||||
|
||||
measuredValues, err := logfile.Read()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user