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:
parent
b7173eb0e5
commit
def6e5a574
2
db.go
2
db.go
|
@ -556,7 +556,7 @@ func (db *DB) reload(deleteable ...string) (err error) {
|
|||
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 {
|
||||
if len(bs) <= 1 {
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue