(source *taskpkg.ActorIdentity)
| 3039 | } |
| 3040 | |
| 3041 | func cloneActorIdentity(source *taskpkg.ActorIdentity) *taskpkg.ActorIdentity { |
| 3042 | if source == nil { |
| 3043 | return nil |
| 3044 | } |
| 3045 | return &taskpkg.ActorIdentity{ |
| 3046 | Kind: source.Kind.Normalize(), |
| 3047 | Ref: strings.TrimSpace(source.Ref), |
| 3048 | } |
| 3049 | } |
| 3050 | |
| 3051 | func trimStringPtr(source *string) *string { |
| 3052 | if source == nil { |
no test coverage detected