Skip to content

Commit 9e57291

Browse files
committed
bug: 修复监听service服务
1 parent 0bbab42 commit 9e57291

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v4/registry/consul/watcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func newConsulWatcher(cr *consulRegistry, opts ...registry.WatchOption) (registr
4747
return nil, err
4848
}
4949

50-
wp.Handler = cw.handle
50+
wp.Handler = cw.serviceHandler
5151
go wp.RunWithClientAndHclog(cr.Client(), wp.Logger)
5252
cw.wp = wp
5353

0 commit comments

Comments
 (0)