spiegel_podman/pkg/api/handlers/libpod
Nirmal Patel 714e5a13d9 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-16 20:26:59 -04:00
..
containers.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_create.go Implement Podman Container Clone 2022-02-20 21:11:14 -05: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-16 20:26:59 -04:00
healthcheck.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
images.go container-commit: support --squash to squash layers into one 2022-02-23 17:38:28 +05:30
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 Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
networks.go Add version guard to libpod API endpoints 2022-02-09 14:22:42 -07:00
play.go Add podman play kube --annotation 2022-03-09 17:30:01 -05:00
pods.go Merge pull request #12930 from cdoern/podCgroup 2022-02-04 09:41:12 -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