Skip to content

Commit

Permalink
Merge branch 'add_link_from_context_api' of https://github.com/bhauti…
Browse files Browse the repository at this point in the history
…kpip/opentelemetry-go into add_link_from_context_api
  • Loading branch information
bhautikpip committed Jul 22, 2021
2 parents 550cf15 + 7996777 commit e78a735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ type Link struct {
DroppedAttributeCount int
}

// LinkFromContext returns a link encapsulating the SpanContext in the provided ctx
// LinkFromContext returns a link encapsulating the SpanContext in the provided ctx.
func LinkFromContext(ctx context.Context, attrs ...attribute.KeyValue) Link {
return Link{
SpanContext: SpanContextFromContext(ctx),
Expand Down

0 comments on commit e78a735

Please sign in to comment.