(owner *taskpkg.Ownership)
| 4592 | } |
| 4593 | |
| 4594 | func formatTaskOwnership(owner *taskpkg.Ownership) string { |
| 4595 | if owner == nil { |
| 4596 | return "" |
| 4597 | } |
| 4598 | return firstNonEmpty( |
| 4599 | string(owner.Kind)+":"+strings.TrimSpace(owner.Ref), |
| 4600 | strings.TrimSpace(owner.Ref), |
| 4601 | ) |
| 4602 | } |
| 4603 | |
| 4604 | func formatTaskActor(actor taskpkg.ActorIdentity) string { |
| 4605 | return firstNonEmpty( |
no test coverage detected