codestyle: moves cache to infra (#17519)

This commit is contained in:
Carl Bergquist
2019-06-13 10:55:38 +02:00
committed by GitHub
parent df917663e6
commit 6809d2bb29
5 changed files with 14 additions and 12 deletions
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"time"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/infra/localcache"
m "github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/registry"
"github.com/grafana/grafana/pkg/services/cache"
)
type CacheService interface {
@@ -15,8 +15,8 @@ type CacheService interface {
}
type CacheServiceImpl struct {
Bus bus.Bus `inject:""`
CacheService *cache.CacheService `inject:""`
Bus bus.Bus `inject:""`
CacheService *localcache.CacheService `inject:""`
}
func init() {