register datasource cache service with proper name

This commit is contained in:
Marcus Efraimsson 2018-10-30 12:32:14 +01:00
parent 5d4dc18bbc
commit 6f9c0241af
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A

View File

@ -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 {