spiegel_podman/pkg/api/handlers
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
..
compat Add ExitCommandDelay configuration use in API exec handler 2022-03-04 00:57:35 +01:00
libpod Separator is no longer prepended when prefix is empty on podman generate systemd 2022-03-16 20:26:59 -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