Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
39b22ab5
Commit
39b22ab5
authored
Jun 22, 2019
by
aliiohs
Browse files
Options
Downloads
Patches
Plain Diff
change RouterFactory method name
parent
be4b8370
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cluster/router.go
+1
-1
1 addition, 1 deletion
cluster/router.go
cluster/router/router_factory.go
+1
-1
1 addition, 1 deletion
cluster/router/router_factory.go
with
2 additions
and
2 deletions
cluster/router.go
+
1
−
1
View file @
39b22ab5
...
@@ -25,7 +25,7 @@ import (
...
@@ -25,7 +25,7 @@ import (
// Extension - Router
// Extension - Router
type
RouterFactory
interface
{
type
RouterFactory
interface
{
Get
Router
(
common
.
URL
)
(
Router
,
error
)
Router
(
common
.
URL
)
(
Router
,
error
)
}
}
type
Router
interface
{
type
Router
interface
{
...
...
This diff is collapsed.
Click to expand it.
cluster/router/router_factory.go
+
1
−
1
View file @
39b22ab5
...
@@ -16,6 +16,6 @@ type ConditionRouterFactory struct {
...
@@ -16,6 +16,6 @@ type ConditionRouterFactory struct {
func
NewConditionRouterFactory
()
cluster
.
RouterFactory
{
func
NewConditionRouterFactory
()
cluster
.
RouterFactory
{
return
ConditionRouterFactory
{}
return
ConditionRouterFactory
{}
}
}
func
(
c
ConditionRouterFactory
)
Get
Router
(
url
common
.
URL
)
(
cluster
.
Router
,
error
)
{
func
(
c
ConditionRouterFactory
)
Router
(
url
common
.
URL
)
(
cluster
.
Router
,
error
)
{
return
newConditionRouter
(
url
)
return
newConditionRouter
(
url
)
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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