diff options
Diffstat (limited to 'tests/plugins/logger/plugin.go')
-rw-r--r-- | tests/plugins/logger/plugin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/logger/plugin.go b/tests/plugins/logger/plugin.go index 38da7266..aa62f2b3 100644 --- a/tests/plugins/logger/plugin.go +++ b/tests/plugins/logger/plugin.go @@ -32,8 +32,8 @@ func (p1 *Plugin) Serve() chan error { p1.log.Warn("error", "test") // test the `raw` mode - messageJson := []byte(`{"field": "value"}`) - p1.log.Debug(strings.TrimRight(string(messageJson), " \n\t")) + messageJSON := []byte(`{"field": "value"}`) + p1.log.Debug(strings.TrimRight(string(messageJSON), " \n\t")) return errCh } |