From fc3e345eb246578d99860ba439eb84d2ca0097eb Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Thu, 31 Mar 2016 07:34:13 -0700 Subject: [PATCH] gosimple fixes --- logger/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logger/log.go b/logger/log.go index da72adbcf72..485ae12e7ee 100644 --- a/logger/log.go +++ b/logger/log.go @@ -115,14 +115,14 @@ func (l *Logger) Fatalf(format string, v ...interface{}) { // Debugf logs a debug statement func (l *Logger) Debugf(format string, v ...interface{}) { - if l.debug == true { + if l.debug { l.logger.Printf(l.debugLabel+format, v...) } } // Tracef logs a trace statement func (l *Logger) Tracef(format string, v ...interface{}) { - if l.trace == true { + if l.trace { l.logger.Printf(l.traceLabel+format, v...) } }