MCPcopy Create free account
hub / github.com/compozy/agh / bulkForceTaskRunError

Function bulkForceTaskRunError

internal/cli/task.go:4386–4397  ·  view source on GitHub ↗
(item BulkForceTaskRunItemRecord)

Source from the content-addressed store, hash-verified

4384}
4385
4386func 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
4399func taskRunListBundle(items []TaskRunRecord) outputBundle {
4400 return listBundle(

Callers 1

bulkForceTaskRunBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected