Merge branch 'feat-20240117-001-Robin' into conflict-test-feat-20240117-001
This commit is contained in:
commit
cbbf3579e4
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue