Commit 2b13e6c1 authored by duanjinfei's avatar duanjinfei

update parse container resp

parent 467ec439
......@@ -423,7 +423,7 @@ func parseData(readBody []byte) interface{} {
var m map[string]json.RawMessage
if err := json.Unmarshal(readBody, &m); err != nil {
log.WithError(err).Error("Parse json raw message failed")
return nil
return bytes.NewBuffer(readBody).String()
}
var outputTwoArray [][]string
if err := json.Unmarshal(m["output"], &outputTwoArray); err != nil {
......
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