mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 04:26:51 +00:00
Do bump go-github in codebase to fix build error in CI builds (#853)
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/actions-runner-controller/actions-runner-controller/github"
|
"github.com/actions-runner-controller/actions-runner-controller/github"
|
||||||
gogithub "github.com/google/go-github/v36/github"
|
gogithub "github.com/google/go-github/v37/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
type server struct {
|
type server struct {
|
||||||
@@ -126,7 +126,7 @@ OUTER:
|
|||||||
s.Logf("Received %T at %s: %v", payload, deliveredAt, payload)
|
s.Logf("Received %T at %s: %v", payload, deliveredAt, payload)
|
||||||
|
|
||||||
if deliveredAt.After(pos.deliveredAt) {
|
if deliveredAt.After(pos.deliveredAt) {
|
||||||
pos.deliveredAt = deliveredAt
|
pos.deliveredAt = deliveredAt.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
if id > pos.id {
|
if id > pos.id {
|
||||||
@@ -142,7 +142,7 @@ OUTER:
|
|||||||
}
|
}
|
||||||
|
|
||||||
sort.Slice(deliveries, func(a, b int) bool {
|
sort.Slice(deliveries, func(a, b int) bool {
|
||||||
return deliveries[b].GetDeliveredAt().After(deliveries[a].GetDeliveredAt())
|
return deliveries[b].GetDeliveredAt().After(deliveries[a].GetDeliveredAt().Time)
|
||||||
})
|
})
|
||||||
|
|
||||||
var payloads [][]byte
|
var payloads [][]byte
|
||||||
|
|||||||
Reference in New Issue
Block a user