mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
Fix output for log protocol header (#4926)
* Fix output for log protocol header * Fix wrong merge
This commit is contained in:
parent
ac55ddf525
commit
125c48ee75
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user