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

Support user friendly validation for the API sdk #16

Open
mohamed-abdelrhman opened this issue Jun 22, 2022 · 0 comments
Open

Support user friendly validation for the API sdk #16

mohamed-abdelrhman opened this issue Jun 22, 2022 · 0 comments

Comments

@mohamed-abdelrhman
Copy link

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$'"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant