mirror of
https://github.com/smallnest/rpcx.git
synced 2025-10-27 18:10:25 +08:00
modify option setting of server by functional options
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
func TestZookeeperRegistry(t *testing.T) {
|
||||
s := server.NewServer(nil)
|
||||
s := server.NewServer()
|
||||
|
||||
r := &ZooKeeperRegisterPlugin{
|
||||
ServiceAddress: "tcp@127.0.0.1:8972",
|
||||
|
||||
Reference in New Issue
Block a user