mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-22 23:01:23 -04:00
Merge 054723421f into 54d6d84268
This commit is contained in:
commit
d42fdbdfba
1 changed files with 2 additions and 0 deletions
|
|
@ -1688,6 +1688,8 @@ func (c *Client) httpRequestWithContext(ctx context.Context, r *Request) (*Respo
|
|||
if err != nil {
|
||||
return result, fmt.Errorf("redirect failed: %s", err)
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
}
|
||||
|
||||
if err := result.Error(); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue