mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00

Deadcode should that the ShouldRestart() API endpoint was never wired into the router so the endpoint did not existed and the bindings called a non existing endpoint which returnd 404 which the binding code assumed means no restart. As such remove all this code as it didn't do anything useful. And IMO exposing a shouldrestart API always feeled wrong to me. The client should not have to deal with this. This commit does not change the behavior but it also does not make an attempt to fix the broken restart handling with the rmeote client. Given we do not seem to have any user reports about this it seems it is not used. Signed-off-by: Paul Holzinger <pholzing@redhat.com>