Remove bus from usage stats (#45275)

This commit is contained in:
idafurjes
2022-02-11 14:04:15 +01:00
committed by GitHub
parent 0e8a5407d1
commit d8a56d08ba
11 changed files with 224 additions and 336 deletions

View File

@@ -12,7 +12,7 @@ const (
AllOrganizations = -1
)
func ProvideService(sqlStore *sqlstore.SQLStore) KVStore {
func ProvideService(sqlStore sqlstore.Store) KVStore {
return &kvStoreSQL{
sqlStore: sqlStore,
log: log.New("infra.kvstore.sql"),

View File

@@ -12,7 +12,7 @@ import (
// kvStoreSQL provides a key/value store backed by the Grafana database
type kvStoreSQL struct {
log log.Logger
sqlStore *sqlstore.SQLStore
sqlStore sqlstore.Store
}
// Get an item from the store