revert "fix wrong output when using jsonpath"

This partially reverts commit 39cfe232325d66bcdbc935af7aaf7022562e7010and PR #98057

the original problem was caused by not using {end} at the end of the range

Kubernetes-commit: 5c3de9f1de913d1251ce2183991a845edc01d123
This commit is contained in:
atiratree
2021-08-05 18:39:43 +02:00
committed by Kubernetes Publisher
parent b350fc31ce
commit 496c390182
2 changed files with 2 additions and 5 deletions

View File

@@ -132,9 +132,6 @@ func (j *JSONPath) FindResults(data interface{}) ([][]reflect.Value, error) {
}
continue
}
if len(results) == 0 {
break
}
fullResult = append(fullResult, results)
}
return fullResult, nil