From 311a6396a7a4e4e6edb15e07601b6834fd90180d Mon Sep 17 00:00:00 2001 From: Ali Josie <33804388+0xc0d@users.noreply.github.com> Date: Thu, 24 Jun 2021 21:41:08 +0200 Subject: [PATCH] fix documentation for trace.Status (#2029) --- sdk/trace/span.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/trace/span.go b/sdk/trace/span.go index 349ab4a96..4ecd8e8e9 100644 --- a/sdk/trace/span.go +++ b/sdk/trace/span.go @@ -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 }