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
84b27796
Commit
84b27796
authored
3 years ago
by
LaurenceLiZhixin
Browse files
Options
Downloads
Patches
Plain Diff
fix: restart ci
parent
b1e7913d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
registry/zookeeper/listener.go
+3
-3
3 additions, 3 deletions
registry/zookeeper/listener.go
with
3 additions
and
3 deletions
registry/zookeeper/listener.go
+
3
−
3
View file @
84b27796
...
...
@@ -23,7 +23,7 @@ import (
)
import
(
gxzookeeper
"github.com/dubbogo/gost/database/kv/zk"
zk
"github.com/dubbogo/gost/database/kv/zk"
perrors
"github.com/pkg/errors"
)
...
...
@@ -113,7 +113,7 @@ func (l *RegistryDataListener) Close() {
// RegistryConfigurationListener represent the processor of zookeeper watcher
type
RegistryConfigurationListener
struct
{
client
*
gxzookeeper
.
ZookeeperClient
client
*
zk
.
ZookeeperClient
registry
*
zkRegistry
events
chan
*
config_center
.
ConfigChangeEvent
isClosed
bool
...
...
@@ -123,7 +123,7 @@ type RegistryConfigurationListener struct {
}
// NewRegistryConfigurationListener for listening the event of zk.
func
NewRegistryConfigurationListener
(
client
*
gxzookeeper
.
ZookeeperClient
,
reg
*
zkRegistry
,
conf
*
common
.
URL
)
*
RegistryConfigurationListener
{
func
NewRegistryConfigurationListener
(
client
*
zk
.
ZookeeperClient
,
reg
*
zkRegistry
,
conf
*
common
.
URL
)
*
RegistryConfigurationListener
{
reg
.
WaitGroup
()
.
Add
(
1
)
return
&
RegistryConfigurationListener
{
client
:
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