Skip to content

Commit

Permalink
Fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Oct 10, 2023
1 parent cac4c5e commit 316ab35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion changeset/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func collectChunksToSegment(outputFile string, chunkFiles []string) error {
if _, err := writer.Write(endingHeader[:]); err != nil {
return err
}

err = writer.Close()
if err != nil {
return err
Expand Down
1 change: 0 additions & 1 deletion changeset/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ func iterateChangeSet(reader Reader, fn func(version int64, changeset *iavl.Chan

if offset == -1 || version == -1 {
// this means we are done
fmt.Printf("Done\n")
break
}
shouldStop, err := fn(version, changeSet)
Expand Down

0 comments on commit 316ab35

Please sign in to comment.