Skip to content

Commit

Permalink
Update pkg/registry/file/dynamicpathdetector/analyzer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Bertschy <[email protected]>
Signed-off-by: Afek Berger <[email protected]>
  • Loading branch information
afek854 and matthyx authored Sep 8, 2024
1 parent 90050e2 commit 6fd10ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/file/dynamicpathdetector/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (ua *PathAnalyzer) AnalyzePath(path, identifier string) (string, error) {
}

func (ua *PathAnalyzer) processSegments(node *SegmentNode, segments []string) string {
resultPath := []string{}
var resultPath []string
currentNode := node
for _, segment := range segments {
currentNode = ua.processSegment(currentNode, segment)
Expand Down

0 comments on commit 6fd10ed

Please sign in to comment.