Skip to content

Commit

Permalink
better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Oct 19, 2023
1 parent bd04204 commit 2d7a938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/handler/trivyProcessing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
}

0 comments on commit 2d7a938

Please sign in to comment.