(item BulkForceTaskRunItemRecord)
| 4384 | } |
| 4385 | |
| 4386 | func bulkForceTaskRunError(item BulkForceTaskRunItemRecord) string { |
| 4387 | if item.Error == nil { |
| 4388 | return "" |
| 4389 | } |
| 4390 | if strings.TrimSpace(item.Error.Error) != "" { |
| 4391 | return item.Error.Error |
| 4392 | } |
| 4393 | if item.Error.Diagnostic != nil { |
| 4394 | return item.Error.Diagnostic.Code |
| 4395 | } |
| 4396 | return "" |
| 4397 | } |
| 4398 | |
| 4399 | func taskRunListBundle(items []TaskRunRecord) outputBundle { |
| 4400 | return listBundle( |
no outgoing calls
no test coverage detected