Commit db8be7a3 authored by nanahira's avatar nanahira

Revert "revert mark thing"

This reverts commit b8711499.
parent 641ccde6
Pipeline #13065 passed with stages
in 1 minute and 52 seconds
...@@ -41,8 +41,10 @@ func NewChain(nodes ...Node) *Chain { ...@@ -41,8 +41,10 @@ func NewChain(nodes ...Node) *Chain {
func (c *Chain) newRoute(nodes ...Node) *Chain { func (c *Chain) newRoute(nodes ...Node) *Chain {
route := NewChain(nodes...) route := NewChain(nodes...)
route.isRoute = true route.isRoute = true
route.Interface = c.Interface if !c.IsEmpty() {
route.Mark = c.Mark route.Interface = c.Interface
route.Mark = c.Mark
}
return route return route
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment