Merge branch 'feat-20240117-001-Robin' into conflict-test-feat-20240117-001

This commit is contained in:
Leufolium 2024-02-05 21:35:08 +08:00
commit cbbf3579e4
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ func NewService() *Service {
func (s *Service) Init(c any) (err error) { func (s *Service) Init(c any) (err error) {
cfg, ok := c.(*conf.ConfigSt) cfg, ok := c.(*conf.ConfigSt)
if !ok { if !ok {
err = errors.New("cfg struct type not expected") err = errors.New("cfg struct type not expected ")
logger.Error("service init, err: %v", err) logger.Error("service init, err: %v", err)
return return
} }