mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
add url to summary and check for optional values (#30993)
This commit is contained in:
parent
367a850989
commit
70ddcc7d0d
@ -106,7 +106,12 @@ func (b *Cloud) runTasksWithTaskResults(context *IntegrationContext, output Inte
|
||||
title := fmt.Sprintf(`%s ⸺ %s`, t.TaskName, status)
|
||||
output.SubOutput(title)
|
||||
|
||||
output.SubOutput(fmt.Sprintf("[dim]%s", t.Message))
|
||||
if len(t.Message) > 0 {
|
||||
output.SubOutput(fmt.Sprintf("[dim]%s", t.Message))
|
||||
}
|
||||
if len(t.URL) > 0 {
|
||||
output.SubOutput(fmt.Sprintf("[dim]Details: %s", t.URL))
|
||||
}
|
||||
output.SubOutput("")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user