Skip to content
Snippets Groups Projects
Commit b16ddfaf authored by vito.he's avatar vito.he
Browse files

Fix: fix multi registry register bug

parent 20b9e42e
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,6 @@ LOOP:
for _, confIf = range r.services {
services = append(services, confIf)
}
r.cltLock.Unlock()
flag = true
for _, confIf = range services {
......@@ -201,6 +200,7 @@ LOOP:
break
}
}
r.cltLock.Unlock()
if flag {
break
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment