fix wrong codes when write exampels

This commit is contained in:
smallnest
2017-10-20 16:24:36 +08:00
parent 42549d766c
commit a7462875a8
8 changed files with 19 additions and 8 deletions

View File

@@ -18,7 +18,6 @@ func TestZookeeperRegistry(t *testing.T) {
ZooKeeperServers: []string{"127.0.0.1:2181"},
BasePath: "/rpcx_test",
Metrics: metrics.NewRegistry(),
Services: make([]string, 1),
UpdateInterval: time.Minute,
}
err := r.Start()