Skip to content
Snippets Groups Projects
Verified Commit 3433c874 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix pathfinder panic

parent 0089fe62
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,10 @@ func setValueUsingPath[D any](obj D, keyWithDots string, newValue string) error
}
if v.Kind() == reflect.Invalid {
return newInvalidPathError(keyWithDots)
}
for v.Kind() == reflect.Ptr {
v = v.Elem()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment