spiegel_podman/pkg/api/handlers/libpod
Paul Holzinger 75bad52af5
remove unused ShouldRestart() code
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>
2025-06-26 19:37:13 +02:00
..
artifacts.go feat: Add OCI Artifact support to the Podman REST API 2025-06-04 15:49:34 +10:00
containers.go remove unused ShouldRestart() code 2025-06-26 19:37:13 +02:00
containers_create.go Fix handling of "r_limits" in Podman REST API /libpod/containers/create 2025-04-28 15:02:19 +02:00
containers_stats.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
generate.go Remove containers/common/pkg/config from pkg/util 2024-09-06 07:45:04 -04:00
healthcheck.go Add stopped status for HealthCheck 2025-03-03 17:09:30 +01:00
images.go Add podman manifest rm --ignore 2025-01-22 11:43:47 -05:00
images_pull.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_push.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
info.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
kube.go Add --no-hostname option 2025-01-15 06:51:32 -05:00
kube_test.go feat(libpod): support kube play tar content-type (#24015) 2024-09-27 15:40:55 +02:00
manifests.go Add type and annotations to artifact add 2025-01-31 09:53:03 -06:00
networks.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
play.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
pods.go update golangci-lint to v2.1.1 2025-04-14 19:33:42 +02:00
secrets.go Secret create - add ignore option to allow noop 2025-06-24 15:43:38 -04:00
swagger_spec.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
system.go Clean up after unexpectedly terminated build 2025-01-27 14:21:27 +01:00
volumes.go Merge pull request #26434 from mheon/import_export 2025-06-25 19:48:14 +00:00