summaryrefslogtreecommitdiffhomepage
path: root/pkg/log/json_k8s.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 /pkg/log/json_k8s.go
parente26ce51d1a5e6ccdcf2dcb10aaf761e0264f7d51 (diff)
parent253c9e666cf7d52352da97d764818e510f1387c0 (diff)
Merge release-20200115.0-111-g253c9e6 (automated)
Diffstat (limited to 'pkg/log/json_k8s.go')
-rw-r--r--pkg/log/json_k8s.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/log/json_k8s.go b/pkg/log/json_k8s.go
index c2c019915..cee6eb514 100644
--- a/pkg/log/json_k8s.go
+++ b/pkg/log/json_k8s.go
@@ -33,7 +33,7 @@ type K8sJSONEmitter struct {
}
// Emit implements Emitter.Emit.
-func (e K8sJSONEmitter) Emit(level Level, timestamp time.Time, format string, v ...interface{}) {
+func (e *K8sJSONEmitter) Emit(level Level, timestamp time.Time, format string, v ...interface{}) {
j := k8sJSONLog{
Log: fmt.Sprintf(format, v...),
Level: level,