Removed assigner in return

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

View File

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