1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-20 02:32:46 +00:00

Support uint32

This commit is contained in:
Darren Shepherd
2018-07-31 09:58:52 -07:00
parent 1459e6f3a5
commit fb7c8a27e9

View File

@@ -438,6 +438,8 @@ func (s *Schemas) determineSchemaType(version *APIVersion, t reflect.Type) (stri
fallthrough fallthrough
case reflect.Int32: case reflect.Int32:
fallthrough fallthrough
case reflect.Uint32:
fallthrough
case reflect.Int64: case reflect.Int64:
return "int", nil return "int", nil
case reflect.Interface: case reflect.Interface: