From b06ada1e6bdef0180aefb37b91a28d33090ac4b7 Mon Sep 17 00:00:00 2001 From: Jeff Hodges Date: Thu, 20 Aug 2015 18:13:38 -0700 Subject: [PATCH] correct the SQLLogger Printf --- sa/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa/database.go b/sa/database.go index 7a3f41f09..2a178e1f2 100644 --- a/sa/database.go +++ b/sa/database.go @@ -116,7 +116,7 @@ type SQLLogger struct { // Printf adapts the AuditLogger to GORP's interface func (log *SQLLogger) Printf(format string, v ...interface{}) { - log.log.Debug(fmt.Sprintf(format, v)) + log.log.Debug(fmt.Sprintf(format, v...)) } // initTables constructs the table map for the ORM. If you want to also create