You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The field Deleted is missing within events.CodeCommitReference struct.
Due to the lack of this field, our lambda function is unable to identify if the event was of a ref deletion or not.
Describe the solution you'd like
Add the field in below struct
type CodeCommitReference struct {
Commit string `json:"commit"`
Ref string `json:"ref"`
Created bool `json:"created,omitempty"`
Deleted bool `json:"deleted,omitempty"`
}
Describe alternatives you've considered
We have been provided a patch by AWS team for now with the same above changes which we are using in our local env and CI/CD.
Additional context
Here is the event received by lambda function upon tag deletion.
The deleted field from above json doesn't get mapped due to missing field in the struct.
The text was updated successfully, but these errors were encountered:
praveenk007
changed the title
events.CodeCommitReference within aws-lambda-go sdk has missing Deleted field
events.CodeCommitReference has missing Deleted field
Nov 1, 2023
Is your feature request related to a problem? Please describe.
The field
Deleted
is missing withinevents.CodeCommitReference
struct.Due to the lack of this field, our lambda function is unable to identify if the event was of a ref deletion or not.
Describe the solution you'd like
Add the field in below struct
and modify
String()
function as belowDescribe alternatives you've considered
We have been provided a patch by AWS team for now with the same above changes which we are using in our local env and CI/CD.
Additional context
Here is the event received by lambda function upon tag deletion.
The deleted field from above json doesn't get mapped due to missing field in the struct.
The text was updated successfully, but these errors were encountered: