-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add validations to Control API for Auto Triggers #4242
Add validations to Control API for Auto Triggers #4242
Conversation
Codecov Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! this is pretty clean, and works well. my only comment is that in the CLI, i get errors that look like:
{"error":"auto build is already set to true","code":6,"message":"auto build is already set to true"}%
{"error":"json: cannot unmarshal bool into Go value of type map[string]json.RawMessage","code" :3,"message":"json: cannot unmarshal bool into Go value of type map[string]json.RawMessage"}%
could you remove the duplication of the error message to make it more readable?
Done |
Add validations to Control API for Auto Triggers
Related: #4145
Description
User facing changes (remove if N/A)
Return specific error codes with message