delete unused structs

This commit is contained in:
Lunny Xiao
2022-10-16 23:11:28 +08:00
committed by Jason Song
parent 4c2d976629
commit 482832da76
19 changed files with 190 additions and 782 deletions

View File

@ -10,7 +10,6 @@ import (
"time"
"code.gitea.io/gitea/core"
"code.gitea.io/gitea/models/bots"
runnerv1 "gitea.com/gitea/proto-go/runner/v1"
)
@ -92,7 +91,7 @@ func (q *queue) signal(ctx context.Context) error {
if count == 0 {
return nil
}
items, err := bots.FindStages(ctx, bots.FindStageOptions{})
/*items, err := bots.FindStages(ctx, bots.FindStageOptions{})
if err != nil {
return err
}
@ -138,7 +137,7 @@ func (q *queue) signal(ctx context.Context) error {
delete(q.workers, w)
break loop
}
}
}*/
return nil
}