db: Match comment case to function name (#316)

`validateBlockSequence` is not exported, make the letter case in the comment match the function name.

Signed-off-by: Matt Bostock <matt@mattbostock.com>
This commit is contained in:
Matt Bostock 2018-04-13 16:50:15 +01:00 committed by Brian Brazil
parent b7173eb0e5
commit def6e5a574
1 changed files with 1 additions and 1 deletions

2
db.go
View File

@ -556,7 +556,7 @@ func (db *DB) reload(deleteable ...string) (err error) {
return errors.Wrap(db.head.Truncate(maxt), "head truncate failed") return errors.Wrap(db.head.Truncate(maxt), "head truncate failed")
} }
// ValidateBlockSequence returns error if given block meta files indicate that some blocks overlaps within sequence. // validateBlockSequence returns error if given block meta files indicate that some blocks overlaps within sequence.
func validateBlockSequence(bs []*Block) error { func validateBlockSequence(bs []*Block) error {
if len(bs) <= 1 { if len(bs) <= 1 {
return nil return nil