diff --git a/cmd/api/main.go b/cmd/api/main.go index f214bc23e..b50c9a5f8 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -41,7 +41,7 @@ func run(port int) error { var client discoveryregistry.SvcDiscoveryRegistry client, err = openKeeper.NewClient(config.Config.Zookeeper.ZkAddr, config.Config.Zookeeper.Schema, openKeeper.WithFreq(time.Hour), openKeeper.WithUserNameAndPassword(config.Config.Zookeeper.UserName, - config.Config.Zookeeper.Password), openKeeper.WithRoundRobin(), openKeeper.WithTimeout(10)) + config.Config.Zookeeper.Password), openKeeper.WithTimeout(10)) if err != nil { return err }