summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-20 15:12:48 -0700
committerGitHub <noreply@github.com>2019-03-20 15:12:48 -0700
commitc230f0c693134830b3df60a8dc37770848a6f5e2 (patch)
treeeac03c9b30ab357ca656098f16bd6b0a4d89f16e
parent98c64356d1e7bf731d1f55c695ebd62564d432f3 (diff)
parent71b1062c02d0307660391496907b2868ea444f72 (diff)
downloadpodman-c230f0c693134830b3df60a8dc37770848a6f5e2.tar.gz
podman-c230f0c693134830b3df60a8dc37770848a6f5e2.tar.bz2
podman-c230f0c693134830b3df60a8dc37770848a6f5e2.zip
Merge pull request #2725 from rhatdan/syslog
Need to pass the true paramater with --syslog in cobra
-rw-r--r--pkg/spec/createconfig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go
index a61c88d58..118fbad72 100644
--- a/pkg/spec/createconfig.go
+++ b/pkg/spec/createconfig.go
@@ -363,7 +363,7 @@ func (c *CreateConfig) createExitCommand() []string {
command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...)
}
if c.Syslog {
- command = append(command, "--syslog")
+ command = append(command, "--syslog", "true")
}
command = append(command, []string{"container", "cleanup"}...)