Change reflect.Ptr to reflect.Pointer

This commit is contained in:
21kyu
2022-06-26 01:23:43 +09:00
parent d2c5779dad
commit df168d5b5c
38 changed files with 70 additions and 70 deletions

View File

@@ -17759,7 +17759,7 @@ func collectResourcePaths(t *testing.T, skipRecurseList sets.String, tp reflect.
paths := sets.NewString()
switch tp.Kind() {
case reflect.Ptr:
case reflect.Pointer:
paths.Insert(collectResourcePaths(t, skipRecurseList, tp.Elem(), path).List()...)
case reflect.Struct:
for i := 0; i < tp.NumField(); i++ {