mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-11 12:26:38 +02:00
[client] Fix dns handler chain test (#3307)
This commit is contained in:
parent
488b697479
commit
44407a158a
@ -795,7 +795,7 @@ func TestHandlerChain_DomainSpecificityOrdering(t *testing.T) {
|
||||
if op.action == "add" {
|
||||
handler := &nbdns.MockSubdomainHandler{Subdomains: op.subdomain}
|
||||
handlers[op.pattern] = handler
|
||||
chain.AddHandler(op.pattern, handler, op.priority, nil)
|
||||
chain.AddHandler(op.pattern, handler, op.priority)
|
||||
} else {
|
||||
chain.RemoveHandler(op.pattern, op.priority)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user