summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/generate.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-07 15:51:41 +0200
committerGitHub <noreply@github.com>2021-09-07 15:51:41 +0200
commit8a55363b80a012b6c6e774957ac477d0fd540a5e (patch)
tree97baa90a5f4364ff6731921649441407625fecd7 /pkg/domain/entities/generate.go
parentc20227bd16cae98247955b14f6dfea33a26c6a0b (diff)
parentd1573b95e3427efae21da784e3112c5fb3d463fb (diff)
downloadpodman-8a55363b80a012b6c6e774957ac477d0fd540a5e.tar.gz
podman-8a55363b80a012b6c6e774957ac477d0fd540a5e.tar.bz2
podman-8a55363b80a012b6c6e774957ac477d0fd540a5e.zip
Merge pull request #11459 from vrothberg/fix-11438
generate systemd: handle --restart
Diffstat (limited to 'pkg/domain/entities/generate.go')
-rw-r--r--pkg/domain/entities/generate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/entities/generate.go b/pkg/domain/entities/generate.go
index 8a437061f..7809c5241 100644
--- a/pkg/domain/entities/generate.go
+++ b/pkg/domain/entities/generate.go
@@ -9,7 +9,7 @@ type GenerateSystemdOptions struct {
// New - create a new container instead of starting a new one.
New bool
// RestartPolicy - systemd restart policy.
- RestartPolicy string
+ RestartPolicy *string
// StopTimeout - time when stopping the container.
StopTimeout *uint
// ContainerPrefix - systemd unit name prefix for containers