Skip to content

Commit

Permalink
fix documentation for trace.Status (open-telemetry#2029)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xc0d authored Jun 24, 2021
1 parent 16f83ce commit 311a639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/trace/span.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ func isSampled(s SamplingResult) bool {
type Status struct {
// Code is an identifier of a Spans state classification.
Code codes.Code
// Message is a user hint about why that status was set. It is only
// Description is a user hint about why that status was set. It is only
// applicable when Code is Error.
Description string
}

0 comments on commit 311a639

Please sign in to comment.