lib/app/routes/put/host.rb in nagira-0.2.11 vs lib/app/routes/put/host.rb in nagira-0.2.12
- old
+ new
@@ -20,10 +20,10 @@
# == Example
#
# $ curl -i -H "Accept: application/json" -d @host.json -X
# PUT http://localhost:4567/_status/svaroh
#
- # => {"status": true, "object": [{"data": {"host_name":"svaroh",
+ # => {"result": true, "object": [{"data": {"host_name":"svaroh",
# "status_code": "0", "plugin_output": "ping OK", "action":
# "PROCESS_HOST_CHECK_RESULT"}, "result":true, "messages": []}]}
#
# == Example JSON
#