fix: 修复配置key错误
This commit is contained in:
@ -35,7 +35,7 @@ func Watch() cago.Component {
|
||||
|
||||
func (w *watch) Start(ctx context.Context, cfg *configs.Config) error {
|
||||
config := &Config{}
|
||||
if err := cfg.Scan("w", config); err != nil {
|
||||
if err := cfg.Scan("watch", config); err != nil {
|
||||
return err
|
||||
}
|
||||
// 获取记录列表
|
||||
|
Reference in New Issue
Block a user