-
Notifications
You must be signed in to change notification settings - Fork 746
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
feat: adding support for multiple events in GitLab webhook #696
Conversation
// ProjectId is the id of project for which integration needs to setup | ||
ProjectId string `json:"projectId" protobuf:"bytes,2,name=projectId"` | ||
// ProjectID is the id of project for which integration needs to setup | ||
ProjectID string `json:"projectID" protobuf:"bytes,2,name=projectID"` |
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.
I think only the variable needs to be updated, the one in json
doesn't need to be.
I just checked an example in kubernetes
- https://github.com/kubernetes/kubernetes/blob/323f34858de18b862d43c40b2cced65ad8e24052/staging/src/k8s.io/legacy-cloud-providers/azure/auth/azure_auth.go#L50
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.
It's quite confusing.... on the same file:
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.
I would suggest to use ProjectID
in variables, projectId
in json:xxx
, it looks like this is more than the other.
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.
Lets start using projectID
in json schema as well. I'll create another PR to update the Id
mentioned in other event sources to ID
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.
LGTM
No description provided.