Run go vet
Bugs found.
This commit is contained in:
parent
8118c8d3cc
commit
bf6412b55d
12 changed files with 28 additions and 14 deletions
|
|
@ -103,7 +103,7 @@ func (it *AllIterator) Next() bool {
|
|||
} else {
|
||||
k, _ := cur.Seek(last)
|
||||
if !bytes.Equal(k, last) {
|
||||
return fmt.Errorf("could not pick up after", k)
|
||||
return fmt.Errorf("could not pick up after %v", k)
|
||||
}
|
||||
}
|
||||
for i < bufferSize {
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ func (it *Iterator) Next() bool {
|
|||
} else {
|
||||
k, _ := cur.Seek(last)
|
||||
if !bytes.Equal(k, last) {
|
||||
return fmt.Errorf("could not pick up after", k)
|
||||
return fmt.Errorf("could not pick up after %v", k)
|
||||
}
|
||||
}
|
||||
for i < bufferSize {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue