aequitas / concourse-http-api-resource

Concourse resource to allow interaction with (simple) HTTP API's.
https://hub.docker.com/r/aequitas/http-api-resource/
MIT License
25 stars 18 forks source link

Fix compatibility with Concourse 3.1.1 #6

Closed hfinucane closed 6 years ago

hfinucane commented 7 years ago

By implementing all three parts of the Resource interface.

Concourse 3.1.1's web view will break without this, and as a bonus this should get rid of scary logs like

{"error":"hijack: Backend error: Exit status: 500, message:
{\"Type\":\"\",\"Message\":\"runc exec: exit status 1: exec failed:
container_linux.go:264: starting container process caused \\\"exec:
\\\\\\\"/opt/resource/check\\\\\\\": stat /opt/resource/check: no such
file or directory\\\"\\n\",\"Handle\":\"\"}\n"
aequitas commented 6 years ago

Thanks for your contribution.