Cannot filter containers for removing
status in API
#13986
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
Cannot filter for
removing
status in API.It looks like
restarting
is missing too, haven't tried other statuses.is-task
seems to be a wrongfully invalid filter as wellSteps to reproduce the issue:
curl -g --unix-socket /run/podman/podman.sock 'http://d/v4.0.0/libpod/containers/json?filters={"status":["removing"]}'
Describe the results you received:
{"cause":"removing is not a valid status","message":"removing is not a valid status","response":500}
Describe the results you expected:
According to the docs this is a valid status: https://docs.podman.io/en/v4.0.0/_static/api.html#operation/ContainerListLibpod
Output of
podman version
:The text was updated successfully, but these errors were encountered: