mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-18 22:52:11 +01:00
app/vlselect/logsql: add missing return from ProcessLiveTailRequest() when the query cannot be live tailed
(cherry picked from commit fe022ed795
)
This commit is contained in:
parent
0fe533e0be
commit
42eefebb06
@ -394,7 +394,9 @@ func ProcessLiveTailRequest(ctx context.Context, w http.ResponseWriter, r *http.
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !q.CanLiveTail() {
|
if !q.CanLiveTail() {
|
||||||
httpserver.Errorf(w, r, "the query [%s] cannot be used in live tailing; see https://docs.victoriametrics.com/victorialogs/querying/#live-tailing for details", q)
|
httpserver.Errorf(w, r, "the query [%s] cannot be used in live tailing; "+
|
||||||
|
"see https://docs.victoriametrics.com/victorialogs/querying/#live-tailing for details", q)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
q.Optimize()
|
q.Optimize()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user