Explorar o código

rename config for NewACAutomatonDomainMatcher to hybrid

Shelikhoo %!s(int64=4) %!d(string=hai) anos
pai
achega
0043dd6685
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/router/config.go

+ 1 - 1
app/router/config.go

@@ -70,7 +70,7 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) {
 
 	if len(rr.Domain) > 0 {
 		switch rr.DomainMatcher {
-		case "ac":
+		case "hybrid":
 			matcher, err := NewACAutomatonDomainMatcher(rr.Domain)
 			if err != nil {
 				return nil, newError("failed to build domain condition with ACAutomatonDomainMatcher").Base(err)