summaryrefslogtreecommitdiff
path: root/tests/plugins/logger
diff options
context:
space:
mode:
authorbricelalu <[email protected]>2021-04-03 16:32:07 +0200
committerbricelalu <[email protected]>2021-04-03 16:38:23 +0200
commit8bf90c152ddc5cf5eee7e6b59a12424467dd53eb (patch)
treeb2735cdd8739f2d64ebd949928714385163ef52b /tests/plugins/logger
parentb08566aa120d1500fb68dc032c39a87816b0eafb (diff)
Update CHANGELOG.md: renaming logger's 'clean' mode to 'raw' mode
Signed-off-by: bricelalu <[email protected]>
Diffstat (limited to 'tests/plugins/logger')
-rw-r--r--tests/plugins/logger/plugin.go4
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
}