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
5c3f71dc
Commit
5c3f71dc
authored
4 years ago
by
Patrick
Browse files
Options
Downloads
Patches
Plain Diff
add comment
parent
c50da856
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
registry/protocol/protocol.go
+1
-0
1 addition, 0 deletions
registry/protocol/protocol.go
registry/service_discovery_factory.go
+2
-1
2 additions, 1 deletion
registry/service_discovery_factory.go
with
3 additions
and
1 deletion
registry/protocol/protocol.go
+
1
−
0
View file @
5c3f71dc
...
@@ -117,6 +117,7 @@ func (proto *registryProtocol) initConfigurationListeners() {
...
@@ -117,6 +117,7 @@ func (proto *registryProtocol) initConfigurationListeners() {
proto
.
providerConfigurationListener
=
newProviderConfigurationListener
(
proto
.
overrideListeners
)
proto
.
providerConfigurationListener
=
newProviderConfigurationListener
(
proto
.
overrideListeners
)
}
}
// nolint
func
(
proto
*
registryProtocol
)
GetRegistries
()
[]
registry
.
Registry
{
func
(
proto
*
registryProtocol
)
GetRegistries
()
[]
registry
.
Registry
{
var
rs
[]
registry
.
Registry
var
rs
[]
registry
.
Registry
proto
.
registries
.
Range
(
func
(
_
,
v
interface
{})
bool
{
proto
.
registries
.
Range
(
func
(
_
,
v
interface
{})
bool
{
...
...
This diff is collapsed.
Click to expand it.
registry/service_discovery_factory.go
+
2
−
1
View file @
5c3f71dc
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
package
registry
package
registry
// ServiceDiscoveryHolder
// ServiceDiscoveryHolder we can get a service discovery
// it always be a service discovery registry
type
ServiceDiscoveryHolder
interface
{
type
ServiceDiscoveryHolder
interface
{
// GetServiceDiscovery get service discovery
// GetServiceDiscovery get service discovery
GetServiceDiscovery
()
ServiceDiscovery
GetServiceDiscovery
()
ServiceDiscovery
...
...
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