Merge pull request 'conflict-test-feat-20240117-001' (#105) from conflict-test-feat-20240117-001 into test

Reviewed-on: #105
This commit is contained in:
chenhao 2024-02-05 21:35:38 +08:00
commit 24e55a6407
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
} }