From 82a2ce3f7d6954dce9c7d6cdd45d39c6b2a6d169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= <ulexus@gmail.com> Date: Thu, 24 Jan 2019 14:45:29 -0500 Subject: [PATCH] remove redundant logging in engine --- template/engine.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/template/engine.go b/template/engine.go index 7811e5d..fb268fa 100644 --- a/template/engine.go +++ b/template/engine.go @@ -3,7 +3,6 @@ package template import ( "context" "errors" - "log" "math/rand" "os" "strings" @@ -12,7 +11,7 @@ import ( "github.com/CyCoreSystems/netdiscover/discover" "github.com/ericchiang/k8s" - "github.com/ericchiang/k8s/apis/core/v1" + v1 "github.com/ericchiang/k8s/apis/core/v1" ) // KubeAPITimeout is the amount of time to wait for the kubernetes API to respond before failing @@ -75,8 +74,6 @@ func (e *Engine) connectKube() (err error) { } func (e *Engine) failure(err error) { - log.Println("engine failure encountered:", err) - e.Close() if e.reload != nil {