[APIv2] /secrets endpoint with filter param doesn't filter and returns 400 with two responses #9314
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Trying to find regressions by exercising the APIv2 trough docker-py's test suite (see #5386) I came across the failing
SecretAPITest::test_list_secrets
test.The
GET /secrets
endpoint had the following issues:{"cause":"bad parameter","message":"bad parameter","response":400}
followed bySteps to reproduce the issue:
Describe the results you received:
The endpoint responded with a 400 status code a body in the following form:
Note that the list of secrets is not being filtered!
Describe the results you expected:
It should have responded with a 200 status code and a filtered list of secrets in the body.
The text was updated successfully, but these errors were encountered: