mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
Fixed issue with nested anchors
This commit is contained in:
parent
9bacfe4363
commit
ed7dfb63d6
1 changed files with 0 additions and 1 deletions
|
@ -144,7 +144,6 @@ func validateArray(resourceArray, patternArray []interface{}, path string) resul
|
|||
// and then validates each map due to the pattern
|
||||
func validateArrayOfMaps(resourceMapArray []interface{}, patternMap map[string]interface{}, path string) result.RuleApplicationResult {
|
||||
anchor, pattern := getAnchorFromMap(patternMap)
|
||||
delete(patternMap, anchor)
|
||||
|
||||
handler := CreateAnchorHandler(anchor, pattern, path)
|
||||
return handler.Handle(resourceMapArray, patternMap)
|
||||
|
|
Loading…
Reference in a new issue