Commit 6f9c0241 by Marcus Efraimsson

register datasource cache service with proper name

parent 5d4dc18b
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment