Skip to content

Commit dea2bfe

Browse files
kalleepCopilot
andcommitted
Update internal/component/loki/source/file/internal/tail/file.go
Co-authored-by: Copilot <[email protected]>
1 parent 496a996 commit dea2bfe

File tree

1 file changed

+1
-1
lines changed
  • internal/component/loki/source/file/internal/tail

1 file changed

+1
-1
lines changed

internal/component/loki/source/file/internal/tail/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func (f *File) wait(partial bool) error {
139139
switch event {
140140
case eventModified:
141141
if partial {
142-
// We need to reset to last succeful offset because we consumed a partial line.
142+
// We need to reset to last successful offset because we consumed a partial line.
143143
f.file.Seek(f.lastOffset, io.SeekStart)
144144
f.reader.Reset(f.file)
145145
}

0 commit comments

Comments
 (0)