diff --git a/zookeeper.go b/zookeeper.go index f88983e..0d22047 100644 --- a/zookeeper.go +++ b/zookeeper.go @@ -12,7 +12,7 @@ var zkClient *zk.Conn // Connect ... func Connect(uri string) error { - c, _, err := zk.Connect([]string{uri}, time.Second*30) + c, _, err := zk.Connect([]string{uri}, time.Second*30, zk.WithLogInfo(false)) if err != nil { fmt.Println("Error when connect to Zookeeper", uri, err) return err @@ -25,7 +25,3 @@ func Connect(uri string) error { return nil } - - - -