fix code
This commit is contained in:
parent
18de9c2c1f
commit
28d4c9a297
|
@ -312,6 +312,9 @@ func (wf *Workflow) Execute() (*Response, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
defer req.Body.Close()
|
rbody, err := req.GetBody()
|
||||||
|
if err == nil {
|
||||||
|
rbody.Close()
|
||||||
|
}
|
||||||
return FromHTTPResponse(resp)
|
return FromHTTPResponse(resp)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user