mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-21 09:00:15 -05:00
Non-HTTP errors previously resulted in a panic due to dereferencing the resp pointer while it was nil, as part of rendering the error message. This commit changes the error message formatting to cope with a nil response, and extends test coverage. Fixes #24384 |
||
|---|---|---|
| .. | ||
| regsrc | ||
| response | ||
| test | ||
| client.go | ||
| client_test.go | ||
| errors.go | ||