From 90c3f9c2dc87d01c0d08b8d21a3d46caa1b560ba Mon Sep 17 00:00:00 2001
From: pantianying <601666418@qq.com>
Date: Mon, 15 Jul 2019 22:41:38 +0800
Subject: [PATCH] update

---
 remoting/zookeeper/client.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/remoting/zookeeper/client.go b/remoting/zookeeper/client.go
index b8f9fb446..5d04dfb12 100644
--- a/remoting/zookeeper/client.go
+++ b/remoting/zookeeper/client.go
@@ -298,7 +298,6 @@ func (z *ZookeeperClient) UnregisterEvent(zkPath string, event *chan struct{}) {
 	if zkPath == "" {
 		return
 	}
-
 	z.Lock()
 	a, ok := z.eventRegistry[zkPath]
 	if !ok {
@@ -318,7 +317,6 @@ func (z *ZookeeperClient) UnregisterEvent(zkPath string, event *chan struct{}) {
 	} else {
 		z.eventRegistry[zkPath] = a
 	}
-
 	z.Unlock()
 }
 
-- 
GitLab