Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani committed Sep 16, 2024
1 parent 8b2b3a8 commit 153c879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions read.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ func (r *reader) readTOC(toc *indexTOC) error {
if sec == nil || sec.kind() != sectionKind(kind) {
// If we don't recognize the section, we may be reading a newer index than the current version. Use
// a "dummy section" struct to skip over it.
log.Printf("encountered malformed index section (%s), skipping over it", tag)
log.Printf("encountered unrecognized index section (%s), skipping over it", tag)
switch sectionKind(kind) {
case sectionKindSimple:
sec = &simpleSection{}
case sectionKindCompound:
sec = &compoundSection{}
sec = &lazyCompoundSection{}
case sectionKindCompoundLazy:
sec = &lazyCompoundSection{}
default:
Expand Down

0 comments on commit 153c879

Please sign in to comment.