In pkg/services/alerting/extractor.go:157 used "dsFilterQuery := models.DatasourcesPermissionFilterQuery{"
then in 162
if err := bus.Dispatch(&dsFilterQuery); err != nil {
if !errors.Is(err, bus.ErrHandlerNotFound) {
return nil, err
}
but there is no function in the global search that uses models.DatasourcesPermissionFilterQuery. So the interpreter always feeds a string to 164 and returns nill
In pkg/services/alerting/extractor.go:157 used "dsFilterQuery := models.DatasourcesPermissionFilterQuery{" then in 162 if err := bus.Dispatch(&dsFilterQuery); err != nil { if !errors.Is(err, bus.ErrHandlerNotFound) { return nil, err } but there is no function in the global search that uses models.DatasourcesPermissionFilterQuery. So the interpreter always feeds a string to 164 and returns nill