Closed atagen closed 1 year ago
Thanks for spotting this! There was a problem with how the ContainerWaitOpts::conditions
parameter was serialized and it doesn't matter which version you are using. I've create a PR #161 that fixes the issue and adds a test case for Container::wait
. Tested locally with version 4.5.0 and before the changes it failed with the error you provided, now the test case works.
Fix works, perfect! Thanks for being so quick :)
Hello,
podman version
on the command line:The following code:
results in the output:
The code
prints "4.5.0" as expected.
However, it appears that:
adjust_api_version()
ornew_versioned()
has identical results, except for the API versions chosen by the client (1.41 and 4.5.0 instead of 4.3.1).wait
commandCalling
podman wait some_container --condition running
from the CLI works as expected.Please let me know if there's any further information or testing I can provide, or if there's somewhere I could start looking to fix this - I would very much like to get this working.
Thanks :)