-
Notifications
You must be signed in to change notification settings - Fork 48
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
Support user friendly validation for the API sdk #16
Comments
mohamed-abdelrhman
added a commit
to mohamed-abdelrhman/kotal
that referenced
this issue
Jun 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When user tries to validate create or update in the API sdk it returns unformatted and not friendly error validation which used for cli
eg:
{"level":"error","time":"2022-06-22T18:52:55.742+0200","msg":"ERROR_IN_ETHEREUMSERVICE_UPDATE-FM","error":"Node.ethereum.kotal.io \"mynodes\" is invalid: spec.resources.memoryLimit: Invalid value: \"0Gi\": spec.resources.memoryLimit in body should match '^[1-9][0-9]*[KMGTPE]i$'"}
The text was updated successfully, but these errors were encountered: