Commit 317e4c2b authored by hujiebin's avatar hujiebin

test: 测试不需要watch

parent e73a582f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment