1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-13 19:53:11 +02:00

fix documentation for trace.Status (#2029)

This commit is contained in:
Ali Josie
2021-06-24 21:41:08 +02:00
committed by GitHub
parent 16f83ce689
commit 311a6396a7

View File

@@ -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
}