Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ func getValueAtPath(obj map[string]interface{}, path string) (interface{}, error
return nil, fmt.Errorf("at path position '%v' out of bounds index '%v'", processed, index)
}
cursor = asArray[index]
remaining = remaining[end+1:]
processed += remaining[0:end]
remaining = remaining[end+1:]
} else if strings.HasPrefix(remaining, ".") {
// Field reference expression
remaining = remaining[1:]
Expand Down