Skip to content

Commit 311a639

Browse files
authored
fix documentation for trace.Status (open-telemetry#2029)
1 parent 16f83ce commit 311a639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/trace/span.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ func isSampled(s SamplingResult) bool {
635635
type Status struct {
636636
// Code is an identifier of a Spans state classification.
637637
Code codes.Code
638-
// Message is a user hint about why that status was set. It is only
638+
// Description is a user hint about why that status was set. It is only
639639
// applicable when Code is Error.
640640
Description string
641641
}

0 commit comments

Comments
 (0)