Skip to content

Commit

Permalink
Fix bad copy-paste mistake
Browse files Browse the repository at this point in the history
Fix #85
  • Loading branch information
gagbo committed Jan 25, 2024
1 parent 853e2f3 commit 781b553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/autometrics/instrument.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func callerInfo(ctx context.Context) (callInfo CallInfo) {
")", ""),
"*", "")

callInfo.Parent.Function = functionName[index+1:]
callInfo.Parent.Function = parentFrameFunctionName[index+1:]
}

return
Expand Down

0 comments on commit 781b553

Please sign in to comment.