mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -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()
|
|
}
|