Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix podman-remote exec regression with v4.8
Commit f48a706 added a new API endpoint to remove exec session correctly. And the bindings try to call that endpoint for exec every time. Now since client and server must not be the same version this causes a problem if a new 4.8 client calls an older 4.7 server as it has no idea about such endpoint and throws an ugly error. This is a common scenario for podman machine setups. The client does know the server version so it should make sure to not call such endpoint if the server is older than 4.8. I added a exec test to the machine tests as this can be reproduced with podman machine as at the moment at least the VM image does not contain podman 4.8. And it should at least make sure podman exec keeps working for podman machine without regressions. Fixes containers#20821 Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information