Skip to content

Commit

Permalink
optimization: change the configuration file from being read globally …
Browse files Browse the repository at this point in the history
…to being read independently.
  • Loading branch information
FGadvancer committed Feb 20, 2024
1 parent 5f2f56b commit d0b16a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/common/cmd/cron_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type CronTaskCmd struct {
func NewCronTaskCmd() *CronTaskCmd {
ret := &CronTaskCmd{RootCmd: NewRootCmd("cronTask", WithCronTaskLogName()),
initFunc: tools.StartTask}
ret.addRunE()
ret.SetRootCmdPt(ret)
return ret
}
Expand Down

0 comments on commit d0b16a6

Please sign in to comment.