A HTTP Ruby API for Consul
BSD 3-Clause "New" or "Revised" License
370
stars
116
forks
source link
PUT /v1/agent/check/<pass|warn|fail>/<check_id> in consul documentation vs GET in Diplomat::Check.<pass|warn|fail> #173
Closed
andreyors closed 5 years ago
Hi,
I found API trouble - in official documentation (https://www.consul.io/api/agent/check.html) they mentioned PUT, but the current master (https://github.com/WeAreFarmGeek/diplomat/blob/master/lib/diplomat/check.rb) uses GET verb for methods pass, warn and fail