Closed marhkb closed 2 years ago
Fixed this in https://github.com/vv9k/containers-api/commit/e407b14c671253eb53a49c2370a685d0c1df6a94 and e1c937675a9eb5f88131b9bce89899e6ccff1628 . Also added tests to prevent future regressions https://github.com/vv9k/containers-api/commit/ca80b56aa8de7a9066e97d718bb90ec5433db733 .
I was wondering how to handle the label!=key=value
filters and it turns out the key in the map has to be label!
for this to work, so my concept made no sense. More info about this filters here: https://github.com/containers/podman/issues/13270
Thanks. This fixes it for me.
For example, a deserialized container filter now looks like
But it should look like
So, if we URL encode the first JSON, we don't retrieve any containers
If we remove the
id=
part, we retrieve the correct result.podman version
on the command line: