Skip to content

Commit

Permalink
Update pkg/stanza/fileconsumer/internal/tracker/tracker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Jaglowski <[email protected]>
  • Loading branch information
VihasMakwana and djaglowski authored Dec 13, 2024
1 parent ab6bdd1 commit c8171a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stanza/fileconsumer/internal/tracker/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type fileTracker struct {

var errInvalidValue = errors.New("invalid value")

var archiveIndexKey = "knonwFiles_ai"
var archiveIndexKey = "knownFilesArchiveIndex"

func NewFileTracker(set component.TelemetrySettings, maxBatchFiles int, pollsToArchive int, persister operator.Persister) Tracker {
knownFiles := make([]*fileset.Fileset[*reader.Metadata], 3)
Expand Down

0 comments on commit c8171a4

Please sign in to comment.