test(pkg/storage): add test for compression and rounding

This commit is contained in:
2019-10-11 12:36:00 +02:00
parent 86f598bc7d
commit 25dd99cd3d
68 changed files with 7713 additions and 1481 deletions

View File

@ -7,8 +7,8 @@ import (
"github.com/go-flucky/flucky/pkg/cli"
"github.com/go-flucky/flucky/pkg/config"
"github.com/go-flucky/flucky/pkg/storage/logfile"
"github.com/go-flucky/flucky/pkg/rgbled"
"github.com/go-flucky/flucky/pkg/storage/logfile"
"github.com/go-flucky/flucky/pkg/types"
"github.com/spf13/cobra"
)

View File

@ -57,7 +57,7 @@ var readPressureCmd = &cobra.Command{
if logs {
measuredValuesLogfile := logfile.New(cnf.Logfile)
err := logfile.Append(measuredValuesLogfile, compression, round, measuredValues)
err := logfile.Append(measuredValuesLogfile, measuredValues)
if err != nil {
log.Fatalln(err)
}