Commit 680c5621 authored by duanjinfei's avatar duanjinfei

update parse container resp

parent 2b13e6c1
...@@ -265,9 +265,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage) ...@@ -265,9 +265,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
case string: case string:
{ {
res := data.(string) res := data.(string)
if len(res) == 1 { base64ImageStr = res
base64ImageStr = res
}
respBody = []byte(res) respBody = []byte(res)
log.Info("data is string type") log.Info("data is string type")
} }
......
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