mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 15:45:43 -06:00
fix: export Bus on search service (#19773)
fix pkg/services/search/service.go:52:3: s.bus undefined (type *SearchService has no field or method bus, but does have Bus) fixes issue introduced by #19765
This commit is contained in:
parent
60f86c3b9c
commit
2c3c576ca6
@ -45,11 +45,11 @@ type FindPersistedDashboardsQuery struct {
|
||||
}
|
||||
|
||||
type SearchService struct {
|
||||
bus bus.Bus `inject:""`
|
||||
Bus bus.Bus `inject:""`
|
||||
}
|
||||
|
||||
func (s *SearchService) Init() error {
|
||||
s.bus.AddHandler(s.searchHandler)
|
||||
s.Bus.AddHandler(s.searchHandler)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user