Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gost
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
gost
Commits
1d406e73
Commit
1d406e73
authored
May 22, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
a9c28789
Pipeline
#13060
passed with stages
in 2 minutes and 24 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
chain.go
chain.go
+0
-8
No files found.
chain.go
View file @
1d406e73
...
@@ -39,13 +39,6 @@ func NewChain(nodes ...Node) *Chain {
...
@@ -39,13 +39,6 @@ func NewChain(nodes ...Node) *Chain {
// newRoute creates a chain route.
// newRoute creates a chain route.
// a chain route is the final route after node selection.
// a chain route is the final route after node selection.
func
(
c
*
Chain
)
newRoute
(
nodes
...
Node
)
*
Chain
{
func
(
c
*
Chain
)
newRoute
(
nodes
...
Node
)
*
Chain
{
<<<<<<<
HEAD
chain
:=
NewChain
(
nodes
...
)
chain
.
isRoute
=
true
chain
.
Interface
=
c
.
Interface
chain
.
Mark
=
c
.
Mark
return
chain
=======
route
:=
NewChain
(
nodes
...
)
route
:=
NewChain
(
nodes
...
)
route
.
isRoute
=
true
route
.
isRoute
=
true
if
!
c
.
IsEmpty
()
{
if
!
c
.
IsEmpty
()
{
...
@@ -53,7 +46,6 @@ func (c *Chain) newRoute(nodes ...Node) *Chain {
...
@@ -53,7 +46,6 @@ func (c *Chain) newRoute(nodes ...Node) *Chain {
route
.
Mark
=
c
.
Mark
route
.
Mark
=
c
.
Mark
}
}
return
route
return
route
>>>>>>>
0247
b941ac31344f0d7b3c547941a051188ba202
}
}
// Nodes returns the proxy nodes that the chain holds.
// Nodes returns the proxy nodes that the chain holds.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment