req is nil with Client.Do
This commit is contained in:
parent
28d4c9a297
commit
2307e6eb10
|
@ -312,9 +312,5 @@ func (wf *Workflow) Execute() (*Response, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
rbody, err := req.GetBody()
|
|
||||||
if err == nil {
|
|
||||||
rbody.Close()
|
|
||||||
}
|
|
||||||
return FromHTTPResponse(resp)
|
return FromHTTPResponse(resp)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user