spiegel_podman/pkg/api/handlers
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
..
compat compat: endpoint /build must set header content type as application/json in reponse 2022-02-10 13:58:12 -05:00
libpod Separator is no longer prepended when prefix is empty on podman generate systemd 2022-03-30 14:05:49 -04:00
swagger bump go module to version 4 2022-01-18 12:47:07 +01:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils Fix handling of duplicate matches on id expansion 2022-01-24 13:19:16 -05:00
decoder.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types.go bump go module to version 4 2022-01-18 12:47:07 +01:00