29
Variant: &commonpb.Link_WorkflowEvent_{WorkflowEvent: link},
30
})
31
>
case string((&commonpb.Link_Activity{}).ProtoReflect().Descriptor().FullName()):
links.go
32
>
link, err := ConvertNexusLinkToLinkActivity(nexusLink)
33
>
if err != nil {
34
>
logger.Warn(
35
>
fmt.Sprintf("failed to parse link to %q: %s", nexusLink.Type, nexusLink.URL),
36
>
tag.Error(err),
37
>
)
38
>
continue
39
}
40
>
out = append(out, &commonpb.Link{
links.go
41
>
Variant: &commonpb.Link_Activity_{Activity: link},
42
>
})
43
>
default:
44
>
logger.Warn(fmt.Sprintf("invalid link data type: %q", nexusLink.Type))
45
}
46
}