Merge pull request #2725 from rhatdan/syslog

Need to pass the true paramater with --syslog in cobra
This commit is contained in:
OpenShift Merge Robot
2019-03-20 15:12:48 -07:00
committed by GitHub

View File

@ -363,7 +363,7 @@ func (c *CreateConfig) createExitCommand() []string {
command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...) command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...)
} }
if c.Syslog { if c.Syslog {
command = append(command, "--syslog") command = append(command, "--syslog", "true")
} }
command = append(command, []string{"container", "cleanup"}...) command = append(command, []string{"container", "cleanup"}...)