summaryrefslogtreecommitdiffhomepage
path: root/pkg/log/json_k8s.go
diff options
context:
space:
mode:
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,