summaryrefslogtreecommitdiff
path: root/models.go
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-08-27 16:30:49 +0200
committerJan Dittberner <jan@dittberner.info>2017-08-27 16:30:49 +0200
commit9b07f3e5384668d84daaa9a062b6c967e5f2ee1b (patch)
tree050e064856e5d98f60efddc494b0d2ed861c9324 /models.go
parentc62801fcb70daadcdd3e564e516a0e5c949454ce (diff)
downloadcacert-boardvoting-9b07f3e5384668d84daaa9a062b6c967e5f2ee1b.tar.gz
cacert-boardvoting-9b07f3e5384668d84daaa9a062b6c967e5f2ee1b.tar.xz
cacert-boardvoting-9b07f3e5384668d84daaa9a062b6c967e5f2ee1b.zip
Fix compile errors with pinned dependency versions
Diffstat (limited to 'models.go')
-rw-r--r--models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models.go b/models.go
index 1c8bd7a..75473b4 100644
--- a/models.go
+++ b/models.go
@@ -254,7 +254,7 @@ func NewDB(database *sqlx.DB) *dbHandler {
var stmt *sqlx.Stmt
stmt, err := database.Preparex(sqlStatement)
if err != nil {
- log.Criticalf("ERROR parsing statement %s: %s", sqlStatement, err)
+ log.Critical("ERROR parsing statement %s: %s", sqlStatement, err)
failed_statements = append(failed_statements, sqlStatement)
}
stmt.Close()