Removed another one

This commit is contained in:
Michael Teuscher 2019-01-22 23:28:01 +01:00
parent cdbcd400a2
commit c304765e5c
No known key found for this signature in database
GPG Key ID: 3F38EF5228BAF9AF
1 changed files with 6 additions and 6 deletions

View File

@ -232,7 +232,7 @@ func newSparkLines(ctx context.Context) (*sparkline.SparkLine, *sparkline.SparkL
)
go periodic(ctx, 500*time.Millisecond, func() error {
v := int(rand.Int31n(max + 1))
return err := spRed.Add([]int{v})
return spRed.Add([]int{v})
})
return spGreen, spRed