Skip to content

Commit 8836ce4

Browse files
committed
misc
1 parent 7c3eb81 commit 8836ce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scouterx/strace/tracemain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ func StartMethod(ctx context.Context) *netdata.MethodStep {
413413

414414
func StartMethodWithParam(ctx context.Context, params ...interface{}) *netdata.MethodStep {
415415
defer common.ReportScouterPanic()
416-
return startMethodWithParam(ctx, params)
416+
return startMethodWithParam(ctx, params...)
417417
}
418418

419419
func StartCustomMethod(ctx context.Context, methodName string) *netdata.MethodStep {
@@ -430,7 +430,7 @@ func StartCustomMethodWithParam(ctx context.Context, methodName string, params .
430430
return nil
431431
}
432432

433-
return startMethodWithParam0(tctx, methodName, methodName, params)
433+
return startMethodWithParam0(tctx, methodName, methodName, params...)
434434
}
435435

436436
func startMethodWithParam(ctx context.Context, params ...interface{}) *netdata.MethodStep {

0 commit comments

Comments
 (0)