fix: replace checker.NewMapIterator with newMapIterator for HTTPHeaders and URLValues

Signed-off-by: Jason Cameron <jason.cameron@stanwith.me>
This commit is contained in:
Jason Cameron
2026-02-18 12:47:15 -05:00
committed by Jason Cameron
parent 8e9b641280
commit 33ea6c714f
3 changed files with 5 additions and 11 deletions

View File

@@ -5,7 +5,6 @@ import (
"reflect"
"strings"
"github.com/TecharoHQ/anubis/lib/policy/checker"
"github.com/google/cel-go/common/types"
"github.com/google/cel-go/common/types/ref"
"github.com/google/cel-go/common/types/traits"
@@ -68,7 +67,7 @@ func (h HTTPHeaders) Get(key ref.Val) ref.Val {
}
func (h HTTPHeaders) Iterator() traits.Iterator {
return checker.NewMapIterator(h.Header)
return newMapIterator(h.Header)
}
func (h HTTPHeaders) IsZeroValue() bool {