From 317e4c2b81f9e4207ffc3c5c86cc490ffd1fb0cf Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 20 Apr 2023 21:32:28 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=B5=8B=E8=AF=95=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81watch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/consul/watch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/resource/consul/watch.go b/resource/consul/watch.go index 070b092..5c30899 100644 --- a/resource/consul/watch.go +++ b/resource/consul/watch.go @@ -114,6 +114,7 @@ func newWatcher(watchType string, opts map[string]string, consulAddr string, cal } func RegisterWatcher(watchType string, opts map[string]string, consulAddr string, callback ServiceCallback) error { + return nil w, err := newWatcher(watchType, opts, consulAddr, callback) if err != nil { mylogrus.MyLog.Error(err) -- 2.22.0