Skip to content

Commit 662055b

Browse files
committed
fix lint
1 parent 0b17e10 commit 662055b

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
cloud.google.com/go/compute/metadata v0.5.2 h1:UxK4uu/Tn+I3p2dYWTfiX4wva7aYlKixAHn3fyqngqo=
22
cloud.google.com/go/compute/metadata v0.5.2/go.mod h1:C66sj2AluDcIqakBq/M8lw8/ybHgOZqin2obFxa/E5k=
3-
code.gitea.io/actions-proto-go v0.4.0 h1:OsPBPhodXuQnsspG1sQ4eRE1PeoZyofd7+i73zCwnsU=
4-
code.gitea.io/actions-proto-go v0.4.0/go.mod h1:mn7Wkqz6JbnTOHQpot3yDeHx+O5C9EGhMEE+htvHBas=
53
code.gitea.io/gitea-vet v0.2.3 h1:gdFmm6WOTM65rE8FUBTRzeQZYzXePKSSB1+r574hWwI=
64
code.gitea.io/gitea-vet v0.2.3/go.mod h1:zcNbT/aJEmivCAhfmkHOlT645KNOf9W2KnkLgFjGGfE=
75
code.gitea.io/sdk/gitea v0.19.0 h1:8I6s1s4RHgzxiPHhOQdgim1RWIRcr0LVMbHBjBFXq4Y=

services/actions/cleanup.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ const deleteEphemeralRunnerBatchSize = 100
134134

135135
// CleanupEphemeralRunners removes used ephemeral runners which are no longer able to process jobs
136136
func CleanupEphemeralRunners(ctx context.Context) error {
137-
138137
runners := []*actions_model.ActionRunner{}
139138
err := db.GetEngine(ctx).Join("INNER", "action_task", "action_task.runner_id = action_runner.id").Where("action_runner.ephemeral").Limit(deleteEphemeralRunnerBatchSize).Find(&runners)
140139
if err != nil {

tests/integration/actions_job_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"code.gitea.io/gitea/modules/json"
2323
"code.gitea.io/gitea/modules/setting"
2424
api "code.gitea.io/gitea/modules/structs"
25-
"connectrpc.com/connect"
2625

2726
runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
27+
"connectrpc.com/connect"
2828
"github.com/stretchr/testify/assert"
2929
)
3030

0 commit comments

Comments
 (0)