diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-05 21:59:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-05 21:59:24 +0200 |
commit | d46c7644cf631a67d86abb74b397096ec56bda6f (patch) | |
tree | d5ffcbc28ec1769cab3ecf53fe9abfdc55c65841 /pkg/spec | |
parent | 3b1ee6990c0e90e0a7ee4233e3ce3bc6487c8a4f (diff) | |
parent | 29c137ff665314f18a65cf55ba55522e702987b3 (diff) | |
download | podman-d46c7644cf631a67d86abb74b397096ec56bda6f.tar.gz podman-d46c7644cf631a67d86abb74b397096ec56bda6f.tar.bz2 podman-d46c7644cf631a67d86abb74b397096ec56bda6f.zip |
Merge pull request #3724 from mheon/v1.4.2-stable1
V1.4.2 stable1
Diffstat (limited to 'pkg/spec')
-rw-r--r-- | pkg/spec/createconfig.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go index a8413d6c7..eaebf119d 100644 --- a/pkg/spec/createconfig.go +++ b/pkg/spec/createconfig.go @@ -165,6 +165,9 @@ func (c *CreateConfig) createExitCommand(runtime *libpod.Runtime) ([]string, err for _, opt := range config.StorageConfig.GraphDriverOptions { command = append(command, []string{"--storage-opt", opt}...) } + if config.EventsLogger != "" { + command = append(command, []string{"--events-backend", config.EventsLogger}...) + } if c.Syslog { command = append(command, "--syslog", "true") |