- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ErrBadArgKind (0.31 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/meta.go
if dataStruct == nil { return nil, mergepatch.ErrBadArgKind(struct{}{}, nil) } t := reflect.TypeOf(dataStruct) // Get the underlying type for pointers if t.Kind() == reflect.Pointer { t = t.Elem() } if t.Kind() != reflect.Struct { return nil, mergepatch.ErrBadArgKind(struct{}{}, dataStruct) } return t, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 16:45:45 UTC 2023 - 7.7K bytes - Viewed (0)