From dcbcbddcea35e76aafa149595264e39c6e40e65d Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Mon, 19 Aug 2024 16:21:44 +0700 Subject: [PATCH] removed useless docs --- go/pkg/telemetry/end.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/go/pkg/telemetry/end.go b/go/pkg/telemetry/end.go index fad5c9b..3db470d 100644 --- a/go/pkg/telemetry/end.go +++ b/go/pkg/telemetry/end.go @@ -8,9 +8,6 @@ import ( // EndWithStatus ends the span with the status of the error if not nil // otherwise it will set the status to OK. // -// This function should be used for ending spans, not for starting spans -// or spans that will have children, to avoid duplicate error recordings. -// // Do not defer this function directly since err might be nil at the // start of defer call. Instead it should be wrapped in a function to // capture the error correctly.