Skip to content

Commit

Permalink
Create a name for linear domain matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Mar 7, 2021
1 parent 867bbb4 commit e24ddf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/router/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) {
}
newError("ACAutomatonDomainMatcher is enabled for ", len(rr.Domain), "domain rules(s)").AtDebug().WriteToLog()
conds.Add(matcher)
case "linear":
fallthrough
default:
matcher, err := NewDomainMatcher(rr.Domain)
if err != nil {
Expand Down

0 comments on commit e24ddf5

Please sign in to comment.