mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
register IPService object under the correct name
This commit is contained in:
committed by
Dan Christian Bogos
parent
130d516a16
commit
4afe92695c
@@ -75,7 +75,6 @@ func (db *DataDBService) Start(_ *utils.SyncedChan, registry *servmanager.Servic
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ func (s *IPService) Start(shutdown *utils.SyncedChan, registry *servmanager.Serv
|
||||
defer s.mu.Unlock()
|
||||
s.ips = ips.NewIPService(dbs.DataManager(), s.cfg, fs.FilterS(), cms.ConnManager())
|
||||
s.ips.StartLoop(context.TODO())
|
||||
srv, err := engine.NewService(s.ips)
|
||||
srv, err := engine.NewServiceWithName(s.ips, utils.IPsV1, true)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user