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
+5 -1
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 {