mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
bugfix, hostname
This commit is contained in:
19
src/util.go
19
src/util.go
@@ -91,15 +91,16 @@ type MsgCreate struct {
|
||||
}
|
||||
|
||||
type TaskStatus struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Node string `json:"node"`
|
||||
Image string `json:"image"`
|
||||
ImageDigest string `json:"image_digest"`
|
||||
Command string `json:"command"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
FinishedAt string `json:"finished_at"`
|
||||
Status string `json:"status"`
|
||||
Id string `json:"id"`
|
||||
HostName string `json:"hostname"`
|
||||
Node string `json:"node"`
|
||||
Image string `json:"image"`
|
||||
ImageDigest string `json:"image_digest"`
|
||||
Command string `json:"command"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
FinishedAt string `json:"finished_at"`
|
||||
Status string `json:"status"`
|
||||
State map[string]interface{} `json:"state"`
|
||||
}
|
||||
|
||||
type JobStatus struct {
|
||||
|
||||
Reference in New Issue
Block a user