Skip to content

Commit

Permalink
/s/setExitSpan/setExitSpanDestinationService/
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartnelson3 committed Aug 16, 2021
1 parent 71d1d0e commit ee8cb43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions span.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func (s *Span) End() {
if s.exit && !s.Context.setDestinationServiceCalled {
// The span was created as an exit span, but the user did not
// manually set the destination.service.resource
s.setExitSpan()
s.setExitSpanDestinationService()
}
if s.Duration < 0 {
s.Duration = time.Since(s.timestamp)
Expand Down Expand Up @@ -403,7 +403,7 @@ func (s *Span) ended() bool {
return s.SpanData == nil
}

func (s *Span) setExitSpan() {
func (s *Span) setExitSpanDestinationService() {
resource := s.Subtype
if resource == "" {
resource = s.Type
Expand Down

0 comments on commit ee8cb43

Please sign in to comment.