refactor: move build status to core package

This commit is contained in:
Bo-Yi.Wu authored and Jason Song committed 2022-11-25 17:48:44 +08:00
1 parent ea0cf8515e
commit 1148903d79
7 files changed
+56 -50

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ func (q *queue) signal(ctx context.Context) error {
q.Lock()
defer q.Unlock()
for _, item := range items {
if item.Status == bots.StatusRunning {
if item.Status == core.StatusRunning {
continue
}
if item.Machine != "" {