Skip to content

Commit

Permalink
feat(cli): remove redundant --dump error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Nov 23, 2024
1 parent 96365c1 commit f12ac7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ func average[T int64](values []T) T {
func dumpHistory(path string, timestamps []int64, values []int64) error {
file, err := os.OpenFile(path, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
return fmt.Errorf("failed to open history dump file: %w", err)
return err
}
defer file.Close()

Expand Down

0 comments on commit f12ac7d

Please sign in to comment.