Skip to content

Commit 39c1b0a

Browse files
authored
fix: use correct path in open WAL error message (#26929)
(cherry picked from commit c87a451)
1 parent f0d5c73 commit 39c1b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsdb/engine/tsm1/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ func (e *Engine) Open() error {
787787

788788
if e.WALEnabled {
789789
if err := e.WAL.Open(); err != nil {
790-
return fmt.Errorf("error opening WAL for %q: %w", fieldPath, err)
790+
return fmt.Errorf("error opening WAL for %q: %w", e.WAL.Path(), err)
791791
}
792792
}
793793

0 commit comments

Comments
 (0)