-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
make test failing if --plural flag is provided as capitalized #1969
Comments
We have two options here. Either validate the flag to ensure that it is lowercase, or lowercase it ourselves. If it was the first flag we validate I would probably go with lowercase it ourselves and print a warning to the user, but the approach followed until now is the other one, validate that the user inputed a lowercased string. |
IMO, we should lower it ourselves because the input of --kind is Capitalized like |
That has a really simple solution, press up arrow, remove the capital, press enter. Same happens if you provide |
Hi @prafull01, the #1970 makes sense for me. Since it is the small fix we can get it merged. However, please feel free to re-open this one or raise a new one and any PR with your suggestions to improve/fix it as well. |
What did you do:
Create a api with
--plural
flag and provide it as capitalized, then it breaks themake test all
as the same capitalized plural flag goes into the CRD.We should lowercase the
--plural
flag value if provided in capitalized by user./kind bug
The text was updated successfully, but these errors were encountered: