Skip to content

Commit

Permalink
fix: do not skip one host during fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed Oct 23, 2023
1 parent f06605a commit 94fb627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/falcon/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func GetMessages(config *config.Config, ctx context.Context) (results map[string

step := 100

for sliceStart := 0; sliceStart < len(hostResult.Payload.Resources); i += step {
for sliceStart := 0; sliceStart < len(hostResult.Payload.Resources); sliceStart += step {
sliceEnd := sliceStart + step
if sliceEnd > len(hostResult.Payload.Resources) {
sliceEnd = len(hostResult.Payload.Resources)
Expand Down

0 comments on commit 94fb627

Please sign in to comment.