From 71059daeb07edff2c4b57a8cf0d7be832e326950 Mon Sep 17 00:00:00 2001 From: wdullaer Date: Thu, 22 Sep 2022 13:59:36 +0200 Subject: [PATCH] Update trace/trace.go Co-authored-by: Damien Mathieu <42@dmathieu.com> --- trace/trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace/trace.go b/trace/trace.go index 4ff03e86d52..7422ca8e04b 100644 --- a/trace/trace.go +++ b/trace/trace.go @@ -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)