spiegel_podman/pkg/api/handlers/libpod
Nirmal Patel e01d9680ce Separator is no longer prepended when prefix is empty on podman generate systemd
When podman generate systemd is invoked, it previously did not check if
container-prefix or pod-prefix are empty. When these are empty, the file name
starts with the separator, which is hyphen by default. This results in files
like '-containername.service'.

The code now checks if these prefixes are empty. If they are, the filename no
longer adds a separator. Instead, it uses name or ID of the container or pod.

Closes #13272

Signed-off-by: Nirmal Patel <npate012@gmail.com>
2022-03-30 14:05:49 -04:00
..
containers.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_create.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_stats.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
generate.go Separator is no longer prepended when prefix is empty on podman generate systemd 2022-03-30 14:05:49 -04:00
healthcheck.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
images.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
images_pull.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
info.go bump go module to version 4 2022-01-18 12:47:07 +01:00
manifests.go Fix manifest 4.0 Endpoints 2022-02-17 12:34:05 -05:00
networks.go Add version guard to libpod API endpoints 2022-02-09 14:38:51 -07:00
play.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
pods.go Podman pod create --share-parent vs --share=cgroup 2022-02-10 13:49:46 -05:00
secrets.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
swagger.go bump go module to version 4 2022-01-18 12:47:07 +01:00
system.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
volumes.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00