scaleway-cli
scaleway-cli copied to clipboard
Do not always capitalize error hints
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Command attempted
We need to avoid the capitalization of some types or error hints. For some use-cases, it can be confusing. Here is an example of an invalid UUID: https://github.com/scaleway/scaleway-cli/issues/1532#issuecomment-727915827.
scw instance image delete b57e72c1-f394-4546-z141-78233b6
Expected Behavior
Invalid arguments 'image_id'
Details:
- 'image_id' does not respect constraints
Hint:
b57e72c1-f394-4546-z141-78233b6 is not a valid UUID. <-- The first char of the invalid UUID is in uppercase: `b`
Actual Behavior
Invalid arguments 'image_id'
Details:
- 'image_id' does not respect constraints
Hint:
B57e72c1-f394-4546-z141-78233b6 is not a valid UUID. <-- The first char of the invalid UUID is in uppercase: `B`
More info
Version 2.2.2
BuildDate unknown
GoVersion go1.15.3
GitBranch unknown
GitCommit unknown
GoArch amd64
GoOS darwin