Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a few function names on comments #2031

Merged
merged 1 commit into from Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/query/callgraph.go
Expand Up @@ -114,7 +114,7 @@ func locationToCallgraphNodes(location *profile.Location) []*querypb.CallgraphNo
}}
}

// linesToTreeNodes turns inlined `lines` into a stack of TreeNode items and
// linesToCallgraphNodes turns inlined `lines` into a stack of TreeNode items and
// returns the slice of items in order from outer-most to inner-most.
func linesToCallgraphNodes(
location *profile.Location,
Expand Down
2 changes: 1 addition & 1 deletion pkg/query/flamegraph_table.go
Expand Up @@ -333,7 +333,7 @@ func aggregateByFunctionTable(tables TableGetter, fg *querypb.Flamegraph) *query
return tree
}

// mergeChildren sorts and merges the children of the given node if they are equals (in-place).
// mergeChildrenTable sorts and merges the children of the given node if they are equals (in-place).
// compare function used for sorting and equals function used for comparing two nodes before merging.
func mergeChildrenTable(
tables TableGetter,
Expand Down