add most tables

This commit is contained in:
Lunny Xiao
2022-05-05 00:39:20 +08:00
committed by Jason Song
parent 5a479bb034
commit 2c4f6fd42f
25 changed files with 598 additions and 1466 deletions

View File

@ -147,7 +147,7 @@ MESSAGE_BUMP:
}
// TODO: find new task and send to client
task, err := bots_model.GetCurTaskByUUID(msg.RunnerUUID)
task, err := bots_model.GetCurBuildByUUID(msg.RunnerUUID)
if err != nil {
log.Error("websocket[%s] get task failed: %v", r.RemoteAddr, err)
break