aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/taskqueue/tasks.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-07 22:52:44 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 04:02:37 +0900
commit4295abfd48ad8ce217b251d07102deb8aee413d5 (patch)
treeb998f6f6c61a07760f5335e4aeeecf3893fd3758 /backend/taskqueue/tasks.go
parent5a2217f7a9d01b925c3db6491a363e6e4db9ca42 (diff)
downloadiosdc-japan-2025-albatross-4295abfd48ad8ce217b251d07102deb8aee413d5.tar.gz
iosdc-japan-2025-albatross-4295abfd48ad8ce217b251d07102deb8aee413d5.tar.zst
iosdc-japan-2025-albatross-4295abfd48ad8ce217b251d07102deb8aee413d5.zip
refactor: rename task result's "result" to "status" for consistency
Diffstat (limited to 'backend/taskqueue/tasks.go')
-rw-r--r--backend/taskqueue/tasks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/taskqueue/tasks.go b/backend/taskqueue/tasks.go
index db05553..5c518f4 100644
--- a/backend/taskqueue/tasks.go
+++ b/backend/taskqueue/tasks.go
@@ -30,7 +30,7 @@ func NewExecTask(gameID, userID int, code string) (*asynq.Task, error) {
type TaskExecResult struct {
Task *TaskExecPlayload
- Result string
+ Status string
Stdout string
Stderr string
}