typo
This commit is contained in:
parent
d2301626cd
commit
632d236343
@ -66,11 +66,11 @@ func (job *Job) Encode() (data []byte) {
|
|||||||
|
|
||||||
// Send some datas to client.
|
// Send some datas to client.
|
||||||
// Using this in a job's executing.
|
// Using this in a job's executing.
|
||||||
func (job *Job) UpdateData(data []byte, iswaring bool) {
|
func (job *Job) UpdateData(data []byte, iswarning bool) {
|
||||||
result := append([]byte(job.Handle), 0)
|
result := append([]byte(job.Handle), 0)
|
||||||
result = append(result, data...)
|
result = append(result, data...)
|
||||||
var datatype uint32
|
var datatype uint32
|
||||||
if iswaring {
|
if iswarning {
|
||||||
datatype = common.WORK_WARNING
|
datatype = common.WORK_WARNING
|
||||||
} else {
|
} else {
|
||||||
datatype = common.WORK_DATA
|
datatype = common.WORK_DATA
|
||||||
|
Loading…
Reference in New Issue
Block a user