Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
a8a0299e
Commit
a8a0299e
authored
3 years ago
by
AlexStocks
Browse files
Options
Downloads
Patches
Plain Diff
cp from pr #1129
parent
8a65bdf2
No related branches found
Branches containing commit
Tags
1.5.6
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
registry/zookeeper/registry.go
+1
-0
1 addition, 0 deletions
registry/zookeeper/registry.go
with
1 addition
and
0 deletions
registry/zookeeper/registry.go
+
1
−
0
View file @
a8a0299e
...
...
@@ -79,6 +79,7 @@ func newZkRegistry(url *common.URL) (registry.Registry, error) {
return
nil
,
err
}
r
.
WaitGroup
()
.
Add
(
1
)
//zk client start successful, then wg +1
go
zookeeper
.
HandleClientRestart
(
r
)
r
.
listener
=
zookeeper
.
NewZkEventListener
(
r
.
client
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment