summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/containers.go
diff options
context:
space:
mode:
authorJordan Christiansen <xordspar0@gmail.com>2020-09-23 14:58:33 -0500
committerJordan Christiansen <xordspar0@gmail.com>2020-09-23 15:26:12 -0500
commit393fa4b92f2ba6f3b3e2e17d33ab0243eef1d063 (patch)
treebf6e45034d1b748cfcc8d35fb5b1da3c0845ce7c /pkg/api/handlers/compat/containers.go
parent81c543bbe3cd5130b5a2f163011d59d8b09f6877 (diff)
downloadpodman-393fa4b92f2ba6f3b3e2e17d33ab0243eef1d063.tar.gz
podman-393fa4b92f2ba6f3b3e2e17d33ab0243eef1d063.tar.bz2
podman-393fa4b92f2ba6f3b3e2e17d33ab0243eef1d063.zip
Allow filtering on pod label values
Before this change, filters of the form `podman pod ps --filter label=app=myapp` were not working. The results would include all pods that contained the app label with any value. Looking at the code, this makes sense. It appears that the second = and everything after it were getting truncated. Even though there was already a passing test that tested `podman pod ps --filter label=io.podman.test.label=value1`, the test failed with the above example with a label `app=myapp`. The new code works in both cases. Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
Diffstat (limited to 'pkg/api/handlers/compat/containers.go')
0 files changed, 0 insertions, 0 deletions