mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-18 00:26:09 -04:00
When a server returns a code that is not 200, we error in the current state. This is not conformant to the HTTP norm, as anything in the 2xx range is considered a success, so the datasource should not error in this case. Therefore, this commit fixes the condition in which we report an error, so that anything in the 2xx range is now considered a success by the datasource. |
||
|---|---|---|
| .. | ||
| hcp-packer-artifact | ||
| hcp-packer-image | ||
| hcp-packer-iteration | ||
| hcp-packer-version | ||
| http | ||
| null | ||
| .gitkeep | ||