mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-05 12:48:17 +00:00
Fix a small bug, add a unit test.
This commit is contained in:
@@ -96,7 +96,7 @@ func validateLGTMAfterPush(client *github.Client, user, project string, pr *gith
|
||||
for ix := range events {
|
||||
event := &events[ix]
|
||||
if *event.Event == "labeled" && *event.Label.Name == "lgtm" {
|
||||
*lgtmTime = *event.CreatedAt
|
||||
lgtmTime = event.CreatedAt
|
||||
}
|
||||
}
|
||||
if lgtmTime == nil {
|
||||
|
||||
Reference in New Issue
Block a user