Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PeeredID of Network object can be negative #116

Open
vlorinc opened this issue Oct 27, 2023 · 0 comments
Open

PeeredID of Network object can be negative #116

vlorinc opened this issue Oct 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@vlorinc
Copy link
Contributor

vlorinc commented Oct 27, 2023

Describe the bug
PeeredID of Network object can be negative, which should not be allowed and causes issue during uint32 conversion.

Expected behavior
When creating Network object with negative PeeredID, error should occur.

Additional context
Other uint32 conversions were secured with kubebuilder validation, but kubebuilder validation of []int32 slice is not possible.

@vlorinc vlorinc added the bug Something isn't working label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant