mirror of https://gitlab.com/ngerakines/tavern.git
Removed debug code.
This commit is contained in:
parent
f7664e52c0
commit
cccc0f7f78
|
@ -1,7 +1,6 @@
|
||||||
package common
|
package common
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -82,7 +81,6 @@ func (m AllowDenyMatcher) Match(test string) bool {
|
||||||
|
|
||||||
func (s MatcherSet) Allow(tests ...string) bool {
|
func (s MatcherSet) Allow(tests ...string) bool {
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
fmt.Println("testing", test)
|
|
||||||
for _, matcher := range s.HighAllow {
|
for _, matcher := range s.HighAllow {
|
||||||
if matcher.Match(test) {
|
if matcher.Match(test) {
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue