(source *taskpkg.ActorIdentity)
| 1515 | } |
| 1516 | |
| 1517 | func cloneActorIdentity(source *taskpkg.ActorIdentity) *taskpkg.ActorIdentity { |
| 1518 | if source == nil { |
| 1519 | return nil |
| 1520 | } |
| 1521 | return &taskpkg.ActorIdentity{ |
| 1522 | Kind: source.Kind.Normalize(), |
| 1523 | Ref: strings.TrimSpace(source.Ref), |
| 1524 | } |
| 1525 | } |
| 1526 | |
| 1527 | func trimStringPtr(source *string) *string { |
| 1528 | if source == nil { |
no test coverage detected