From 125c48ee75551e8ee211fc11f99a16ce27a2c745 Mon Sep 17 00:00:00 2001 From: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com> Date: Fri, 10 May 2024 09:54:07 +0200 Subject: [PATCH] Fix output for log protocol header (#4926) * Fix output for log protocol header * Fix wrong merge --- pkg/abaputils/manageGitRepositoryUtils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/abaputils/manageGitRepositoryUtils.go b/pkg/abaputils/manageGitRepositoryUtils.go index 09854c540..d53755a50 100644 --- a/pkg/abaputils/manageGitRepositoryUtils.go +++ b/pkg/abaputils/manageGitRepositoryUtils.go @@ -150,7 +150,7 @@ func allLogsHaveBeenPrinted(protocols []LogProtocol, page int, count int, err er } func printHeader(logEntry LogResultsV2, api SoftwareComponentApiInterface) { - if logEntry.Status != `Success` { + if logEntry.Status == `Error` { log.Entry().Infof("\n") AddDefaultDashedLine(1) log.Entry().Infof("%s (%v)", logEntry.Name, api.ConvertTime(logEntry.Timestamp))