Fix start watcher

This commit is contained in:
世界 2024-11-20 11:32:43 +08:00
parent af58e3bec0
commit 6be07ed51f
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ func (c *echServerConfig) startWatcher() error {
if err != nil {
return err
}
err = c.watcher.Start()
err = watcher.Start()
if err != nil {
return err
}

View file

@ -106,7 +106,7 @@ func (c *STDServerConfig) startWatcher() error {
if err != nil {
return err
}
err = c.watcher.Start()
err = watcher.Start()
if err != nil {
return err
}