[skip e2e] Improve annotation (#14381)

Signed-off-by: Xieql <qianglong.xie@zilliz.com>
This commit is contained in:
Xieql 2021-12-28 13:22:17 +08:00 committed by GitHub
parent c0ba4c32af
commit 84541758f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ func StartSpanFromContext(ctx context.Context, opts ...opentracing.StartSpanOpti
return StartSpanFromContextWithSkip(ctx, 3, opts...) return StartSpanFromContextWithSkip(ctx, 3, opts...)
} }
// StartSpanFromContextWithSkip starts a opentracing span with call skip. The operation // StartSpanFromContextWithSkip starts an opentracing span with call skip. The operation
// name is upper @skip call stacks of the function // name is upper @skip call stacks of the function
func StartSpanFromContextWithSkip(ctx context.Context, skip int, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context) { func StartSpanFromContextWithSkip(ctx context.Context, skip int, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context) {
if ctx == nil { if ctx == nil {