register datasource cache service with proper name

pull/13900/head
Marcus Efraimsson 7 years ago
parent 5d4dc18bbc
commit 6f9c0241af
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A
  1. 6
      pkg/services/datasources/cache.go

@ -20,7 +20,11 @@ type CacheServiceImpl struct {
}
func init() {
registry.RegisterService(&CacheServiceImpl{})
registry.Register(&registry.Descriptor{
Name: "DatasourceCacheService",
Instance: &CacheServiceImpl{},
InitPriority: registry.Low,
})
}
func (dc *CacheServiceImpl) Init() error {

Loading…
Cancel
Save