Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix (kubernetes-model-generator/pkg/schemagen) : Remove check to conv…
…ert integer array to string Kubernetes Model Generator script currently converted all byte, integer lists to string (since there is no byte reflect.type in GoLang , it's alias to `uint8`). This seems to be incorrectly generating PodFailurePolicyOnExitCodesRequirement.values field as String. Add a switch case in `javaType()` to treat `reflect.Uint8` to byte. Limit `javaTypeArrayList()` to only convert byte array/ `reflect.Uint8` array to string. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
- Loading branch information