Skip to content

Commit

Permalink
Start with post filters
Browse files Browse the repository at this point in the history
  • Loading branch information
jeschkies committed Nov 13, 2023
1 parent fc6e792 commit 0923606
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions pkg/logql/syntax/serialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,18 +309,16 @@ func encodeUnwrap(s *jsoniter.Stream, u *UnwrapExpr) {
s.WriteObjectField("operation")
s.WriteString(u.Operation)

/*
s.WriteMore()
s.WriteObjectField("post_filterers")
s.WriteArrayStart()
for i, group := range u.PostFilters{
if i > 0 {
s.WriteMore()
}
s.WriteString(group)
s.WriteMore()
s.WriteObjectField("post_filterers")
s.WriteArrayStart()
for i, group := range u.PostFilters{
if i > 0 {
s.WriteMore()
}
s.WriteArrayEnd()
*/
s.WriteString(group)
}
s.WriteArrayEnd()

s.WriteObjectEnd()
}
Expand Down

0 comments on commit 0923606

Please sign in to comment.