db: Fix typo: reference

This commit is contained in:
Matt Bostock 2017-04-14 22:02:06 +01:00 committed by GitHub
parent 25d4546518
commit 4d5ca4b9c1
1 changed files with 1 additions and 1 deletions

2
db.go
View File

@ -518,7 +518,7 @@ func (a *dbAppender) Add(lset labels.Labels, t int64, v float64) (uint64, error)
return 0, err
}
a.samples++
// Store last byte of sequence number in 3rd byte of refernece.
// Store last byte of sequence number in 3rd byte of reference.
return ref | (uint64(h.meta.Sequence^0xff) << 40), nil
}