Commit 1b3fb251 authored by Your Name's avatar Your Name

add workload public to kafka

parent b3cbf474
......@@ -558,6 +558,8 @@ func ApiAndJWT(c *fiber.Ctx) error {
TaskUid: reqHeaders["X-Consumer-Custom-Id"][0],
TaskFee: fmt.Sprintf("%d", task.Price),
TaskInLen: int32(len(c.Body())),
TaskWorkload: task.Workload,
ContainerPubkey: []byte(task.PublicKey),
}
msgAsJson, err := json.Marshal(pbMsg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment