From 2d7a938a1360236f8bbeda962c0609e77d14286a Mon Sep 17 00:00:00 2001 From: Blaize M Kaye Date: Fri, 20 Oct 2023 12:24:06 +1300 Subject: [PATCH] better formatting --- internal/handler/trivyProcessing.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/handler/trivyProcessing.go b/internal/handler/trivyProcessing.go index 8f5cb1e..e1a4e11 100644 --- a/internal/handler/trivyProcessing.go +++ b/internal/handler/trivyProcessing.go @@ -83,7 +83,7 @@ func writeProblemsArrayToApi(apiClient graphql.Client, environment int, source s if err != nil { return err } - fmt.Printf("Deleted problems from API for %v:%v - response: %v", service, source, ret) + fmt.Printf("Deleted problems from API for %v:%v - response: %v\n", service, source, ret) //now we write the problems themselves _, err = lagoonclient.AddProblems(context.TODO(), apiClient, problems) @@ -239,7 +239,7 @@ func trivyReportToProblems(environment int, source string, service string, repor ret = append(ret, p) } } - fmt.Printf("Found %v problems for environment %v", len(ret), environment) + fmt.Printf("Found %v problems for environment %v\n", len(ret), environment) return ret, nil }