尝试修复自动重载配置不成功的BUG

This commit is contained in:
wyx2685 committed 2023-11-24 18:16:44 +09:00
1 parent 330f3b1449
commit 41b7cf8eb9
2 files changed
+10 -5

No files matched your search

+4
View File
@@ -110,6 +110,10 @@ func (c *Controller) Close() error {
if c.onlineIpReportPeriodic != nil {
c.onlineIpReportPeriodic.Close()
}
err := c.server.DelNode(c.tag)
if err != nil {
return fmt.Errorf("del node error: %s", err)
}
return nil
}