Commit 99068bb2 authored by duanjinfei's avatar duanjinfei

fix index out of range

parent 8e6ef07e
......@@ -282,7 +282,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
{
res := data.([][]string)
log.Info("data is [][]string type")
apiRes := make([][]string, 0)
apiRes := make([][]string, 1)
for _, innerSlice := range res {
apiResOneArr := make([]string, 0)
for _, respStr := range innerSlice {
......
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