Skip to content

Commit

Permalink
Update trace/trace.go
Browse files Browse the repository at this point in the history
Co-authored-by: Damien Mathieu <42@dmathieu.com>
  • Loading branch information
wdullaer and dmathieu committed Sep 22, 2022
1 parent c4ba111 commit 71059da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace/trace.go
Expand Up @@ -364,7 +364,7 @@ type Span interface {
SpanContext() SpanContext

// SetStatus sets the status of the Span in the form of a code and a
// description. The description is only included in a status when the code
// description, provided the status hasn't already been set to a higher value before (OK > Error > Unset). The description is only included in a status when the code
// is for an error.
SetStatus(code codes.Code, description string)

Expand Down

0 comments on commit 71059da

Please sign in to comment.