summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/compat.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-28 00:22:40 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-28 00:22:40 +0000
commite5a999a2b4e56ea600818877b08d0e74869cb014 (patch)
treeff3aa33ad1b5d6dbbeff73fb02fca81e27fbd7ee /runsc/boot/compat.go
parente26ce51d1a5e6ccdcf2dcb10aaf761e0264f7d51 (diff)
parent253c9e666cf7d52352da97d764818e510f1387c0 (diff)
Merge release-20200115.0-111-g253c9e6 (automated)
Diffstat (limited to 'runsc/boot/compat.go')
-rw-r--r--runsc/boot/compat.go2
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