mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(mqe): only parse none empty functions
This commit is contained in:
@@ -49,8 +49,10 @@ func (qp *QueryParser) Parse(model *simplejson.Json, dsInfo *models.DataSource,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if f.Func != "" {
|
||||
functions = append(functions, f)
|
||||
}
|
||||
}
|
||||
|
||||
query.FunctionList = functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user