mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[skip e2e] Improve annotation (#14983)
Signed-off-by: Xieql <qianglong.xie@zilliz.com>
This commit is contained in:
parent
8f0cf95e7c
commit
cc66847f9a
@ -114,7 +114,7 @@ func StartSpanFromContextWithOperationName(ctx context.Context, operationName st
|
|||||||
return StartSpanFromContextWithOperationNameWithSkip(ctx, operationName, 3, opts...)
|
return StartSpanFromContextWithOperationNameWithSkip(ctx, operationName, 3, opts...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// StartSpanFromContextWithOperationNameWithSkip starts a opentracing span with specific operation name.
|
// StartSpanFromContextWithOperationNameWithSkip starts an opentracing span with specific operation name.
|
||||||
// And will log print the current call line number and file name.
|
// And will log print the current call line number and file name.
|
||||||
func StartSpanFromContextWithOperationNameWithSkip(ctx context.Context, operationName string, skip int, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context) {
|
func StartSpanFromContextWithOperationNameWithSkip(ctx context.Context, operationName string, skip int, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context) {
|
||||||
if ctx == nil {
|
if ctx == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user