Expected Behavior
GET /apis/results.tekton.dev/v1alpha2/parents/-/results/-/records should return something like the following based on the openapi spec when there's no matching records:
{ "records": [], "nextPageToken": ""}
Actual Behavior
The API returns {}
Steps to Reproduce the Problem
- List Records with query that doesn't match any Records (any combination of namespace, resultid or filter that satisfies this)
Additional Info
- Kubernetes version:
v1.33.2-gke.1111000
- Tekton Pipeline version:
v1.0.0
- Tekton Results version:
v0.15.2
Expected Behavior
GET /apis/results.tekton.dev/v1alpha2/parents/-/results/-/recordsshould return something like the following based on the openapi spec when there's no matching records:{ "records": [], "nextPageToken": ""}Actual Behavior
The API returns
{}Steps to Reproduce the Problem
Additional Info
v1.33.2-gke.1111000v1.0.0v0.15.2