From 6be07ed51f4be1f51caa95d2543d379f28c480ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 20 Nov 2024 11:32:43 +0800 Subject: [PATCH] Fix start watcher --- common/tls/ech_server.go | 2 +- common/tls/std_server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/tls/ech_server.go b/common/tls/ech_server.go index c38fe673..d41783fe 100644 --- a/common/tls/ech_server.go +++ b/common/tls/ech_server.go @@ -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 } diff --git a/common/tls/std_server.go b/common/tls/std_server.go index e894dade..8eab87da 100644 --- a/common/tls/std_server.go +++ b/common/tls/std_server.go @@ -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 }