mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
[skip e2e] Improve annotation (#14381)
Signed-off-by: Xieql <qianglong.xie@zilliz.com>
This commit is contained in:
parent
c0ba4c32af
commit
84541758f8
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user