From 250e85ebaebbfe97418fddce576af296933a8950 Mon Sep 17 00:00:00 2001 From: Stefano Da Ros Date: Thu, 20 Jun 2019 19:35:00 +0200 Subject: [PATCH] Update the docker golang build image --- Makefile | 2 +- internal/pkg/sql/sqlBackend.go | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 353832c..05933c8 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ endif IMAGE := $(REGISTRY)/$(BIN)-$(ARCH)-$(OS) -BUILD_IMAGE ?= golang:1.11-stretch +BUILD_IMAGE ?= golang:1.12-stretch # If you want to build all binaries, see the 'all-build' rule. # If you want to build all containers, see the 'all-container' rule. # If you want to build AND push all containers, see the 'all-push' rule. diff --git a/internal/pkg/sql/sqlBackend.go b/internal/pkg/sql/sqlBackend.go index b823893..12d5d47 100644 --- a/internal/pkg/sql/sqlBackend.go +++ b/internal/pkg/sql/sqlBackend.go @@ -96,10 +96,6 @@ func New() endpoint.Endpoint { } func (s *SqlBackend) open(args ...interface{}) error { - log.When(config.Options.Logging).Infof( - "[backend] open connection to database %v\n", - config.Options.Database.Driver, - ) driver := args[0].(string) url := args[1].(string) log.When(config.Options.Logging).Infof(