fix(mqe): only parse none empty functions

This commit is contained in:
bergquist
2016-12-15 08:52:43 +01:00
parent f907330c9e
commit 51c4385c92

View File

@@ -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