From f0762bbb6b5c9c473a6af7a7e8db8292b75359d8 Mon Sep 17 00:00:00 2001 From: Ben Toogood Date: Thu, 6 Feb 2020 10:16:32 +0000 Subject: [PATCH] Improve Logging --- runtime/kubernetes/service.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/kubernetes/service.go b/runtime/kubernetes/service.go index e110919f..c572d077 100644 --- a/runtime/kubernetes/service.go +++ b/runtime/kubernetes/service.go @@ -2,7 +2,6 @@ package kubernetes import ( "encoding/json" - "fmt" "strings" "time" @@ -35,7 +34,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service { kservice := client.NewService(name, version, c.Type) kdeploy := client.NewDeployment(name, version, c.Type) - fmt.Printf("Source is %v", s.Source) + log.Debugf("newService Source: %v", s.Source) if len(s.Source) > 0 { for _, c := range kdeploy.Spec.Template.PodSpec.Containers { c.Image = s.Source