diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-28 00:22:40 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-28 00:22:40 +0000 |
commit | e5a999a2b4e56ea600818877b08d0e74869cb014 (patch) | |
tree | ff3aa33ad1b5d6dbbeff73fb02fca81e27fbd7ee /runsc/boot | |
parent | e26ce51d1a5e6ccdcf2dcb10aaf761e0264f7d51 (diff) | |
parent | 253c9e666cf7d52352da97d764818e510f1387c0 (diff) |
Merge release-20200115.0-111-g253c9e6 (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/compat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/boot/compat.go b/runsc/boot/compat.go index 9c23b9553..8995d678e 100644 --- a/runsc/boot/compat.go +++ b/runsc/boot/compat.go @@ -65,7 +65,7 @@ func newCompatEmitter(logFD int) (*compatEmitter, error) { if logFD > 0 { f := os.NewFile(uintptr(logFD), "user log file") - target := log.MultiEmitter{c.sink, log.K8sJSONEmitter{log.Writer{Next: f}}} + target := &log.MultiEmitter{c.sink, &log.K8sJSONEmitter{log.Writer{Next: f}}} c.sink = &log.BasicLogger{Level: log.Info, Emitter: target} } return c, nil |