Skip to content

Commit dbba346

Browse files
committed
lib/logstorage: removed misleading comment from the Query.dropPipesUnsafeForHits()
There is no need in mentioning a special case for union() pipe, for join() pipe and any other pipe exceptions, which are going to be added in the future, since this is superflouos information, which can become outdated or misleading over time. This is a follow-up for fb6dafb Updates #641
1 parent 589e9ee commit dbba346

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/logstorage/parser.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,6 @@ func (q *Query) AddCountByTimePipe(step, off int64, fields []string) {
543543

544544
// dropPipesUnsafeForHits drops trailing pipes from q, which are unsafe
545545
// for calculating hits grouped by _time.
546-
//
547-
// It preserves union() pipes if they do not modify _time.
548546
func (q *Query) dropPipesUnsafeForHits() {
549547
for i, p := range q.pipes {
550548
if !isPipeSafeForHits(p) {

0 commit comments

Comments
 (0)