Skip to content

Commit 5491597

Browse files
committed
update example test
1 parent 4e95c87 commit 5491597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrapper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const (
1717
SKYWALKING_TRACER = "skywalking"
1818
)
1919

20-
// Add http tracing , tags is k-v map which can set in span log, param map can set trace type .
20+
//Add http tracing , tags is k-v map which can set in span log, param map can set trace type .
2121
func AddHttpTracing(svcName string, header http.Header, tags map[string]string, param ...map[string]string) (context.Context, context.CancelFunc) {
2222
// 定义 trace type
2323
var traceType string
@@ -26,7 +26,7 @@ func AddHttpTracing(svcName string, header http.Header, tags map[string]string,
2626
//创建通道
2727
ch := make(chan context.Context, 0)
2828
//选择类型和服务
29-
ç = JAEGER_TRACER
29+
traceType = JAEGER_TRACER
3030
if len(param) > 0 {
3131
if _, exist := param[0]["traceType"]; exist {
3232
traceType = strings.ToLower(param[0]["traceType"])

0 commit comments

Comments
 (0)