Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blotus committed Nov 8, 2024
1 parent fa67c9b commit 437223d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/acquisition/modules/loki/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func (l *LokiSource) StreamingAcquisition(ctx context.Context, out chan types.Ev
case resp, ok := <-respChan:
if !ok {
ll.Warnf("loki channel closed")
return fmt.Errorf("loki channel closed")
return errors.New("loki channel closed")

Check warning on line 347 in pkg/acquisition/modules/loki/loki.go

View check run for this annotation

Codecov / codecov/patch

pkg/acquisition/modules/loki/loki.go#L347

Added line #L347 was not covered by tests
}
for _, stream := range resp.Data.Result {
for _, entry := range stream.Entries {
Expand Down

0 comments on commit 437223d

Please sign in to comment.