Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
gunlee01 committed Jan 17, 2021
1 parent 7c3eb81 commit 8836ce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scouterx/strace/tracemain.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func StartMethod(ctx context.Context) *netdata.MethodStep {

func StartMethodWithParam(ctx context.Context, params ...interface{}) *netdata.MethodStep {
defer common.ReportScouterPanic()
return startMethodWithParam(ctx, params)
return startMethodWithParam(ctx, params...)
}

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

return startMethodWithParam0(tctx, methodName, methodName, params)
return startMethodWithParam0(tctx, methodName, methodName, params...)
}

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

0 comments on commit 8836ce4

Please sign in to comment.