mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
15 lines
245 B
Go
15 lines
245 B
Go
package sqlstore
|
|
|
|
import (
|
|
"github.com/grafana/grafana/pkg/bus"
|
|
m "github.com/grafana/grafana/pkg/models"
|
|
)
|
|
|
|
func init() {
|
|
bus.AddHandler("sql", GetDBHealthQuery)
|
|
}
|
|
|
|
func GetDBHealthQuery(query *m.GetDBHealthQuery) error {
|
|
return x.Ping()
|
|
}
|