Skip to content

Commit

Permalink
self documenting pipeline process ifc
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-d committed Jan 5, 2021
1 parent ad803af commit 89ed39c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/logql/log/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ type Pipeline interface {
// StreamPipeline transform and filter log lines and labels.
// A StreamPipeline never mutate the received line.
type StreamPipeline interface {
Process(line []byte) ([]byte, LabelsResult, bool)
ProcessString(line string) (string, LabelsResult, bool)
Process(line []byte) (resultLine []byte, resultLabels LabelsResult, skip bool)
ProcessString(line string) (resultLine string, resultLabels LabelsResult, skip bool)
}

// Stage is a single step of a Pipeline.
Expand Down

0 comments on commit 89ed39c

Please sign in to comment.