fix: add initCron to init list
This commit is contained in:
parent
60c7cc5c6c
commit
c397cc9fcb
|
@ -118,6 +118,10 @@ func initializeAPIRegistry(p interfaces.Portal) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func initCron(p interfaces.Portal) error {
|
||||
return p.CronService().Init()
|
||||
}
|
||||
|
||||
func getInitList() []initFunc {
|
||||
return []initFunc{
|
||||
initConfig,
|
||||
|
@ -131,5 +135,6 @@ func getInitList() []initFunc {
|
|||
initAPI,
|
||||
initializeProtocolRegistry,
|
||||
initializeAPIRegistry,
|
||||
initCron,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue