From cc4f4a4763f6629219e6f85dcaa3579b3028fc84 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 14 Oct 2018 13:07:56 +0300 Subject: split all warning messages by lines --- cmd/util/debug.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cmd') diff --git a/cmd/util/debug.go b/cmd/util/debug.go index ac3eaeca..176b42d3 100644 --- a/cmd/util/debug.go +++ b/cmd/util/debug.go @@ -34,10 +34,7 @@ func LogEvent(logger *logrus.Logger, event int, ctx interface{}) bool { continue } - logger.Warning(Sprintf( - "%s", - strings.Trim(line, "\r\n"), - )) + logger.Warning(Sprintf("%s", strings.Trim(line, "\r\n"))) } return true -- cgit v1.2.3