From 0e9c11ebd5d5de342e010a1d26e33872daa149ee Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Thu, 31 Aug 2017 14:41:52 +0100 Subject: [PATCH] Remove empty error messages that manifested as "%s" --- check/check.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/check/check.go b/check/check.go index 4f91340..16c3984 100644 --- a/check/check.go +++ b/check/check.go @@ -156,7 +156,9 @@ func (c *Check) Run() { i++ } - glog.V(2).Info("%s\n", errmsgs) + if errmsgs != "" { + glog.V(2).Info(errmsgs) + } res := c.Tests.execute(out.String()) if res {