open-consul/agent
James Phillips 3d52f42715 Fixes API client for ScriptArgs and updates documentation. (#3589)
* Updates the API client to support the current `ScriptArgs` parameter
for checks.

* Updates docs for checks to explain the `ScriptArgs` parameter issue.

* Adds mappings for "args" and "script-args" to give th API parity
with config.

* Adds checks on return codes.

* Removes debug logging that shows empty when args are used.
2017-10-18 11:28:39 -07:00
..
config config: remove redundant code 2017-10-11 10:16:21 +02:00
consul Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
metadata
mock
pool
router
structs Fixes agent error handling when check definition is invalid. Distingu… (#3560) 2017-10-10 16:54:06 -07:00
systemd
token
acl.go
acl_endpoint.go
acl_endpoint_test.go
acl_test.go
agent.go agent: add option to discard health output (#3562) 2017-10-10 17:04:52 -07:00
agent_endpoint.go Fixes agent error handling when check definition is invalid. Distingu… (#3560) 2017-10-10 16:54:06 -07:00
agent_endpoint_test.go Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
agent_test.go
bindata_assetfs.go Fixes an XSS issue with unescaped node names. (#3578) 2017-10-16 09:12:36 -07:00
blacklist.go
blacklist_test.go
catalog_endpoint.go
catalog_endpoint_test.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
check.go Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
check_test.go
config.go Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
coordinate_endpoint.go
coordinate_endpoint_test.go
dns.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
dns_test.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
docker.go
docker_unix.go
docker_windows.go
event_endpoint.go
event_endpoint_test.go
health_endpoint.go
health_endpoint_test.go
http.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
http_test.go
keyring.go
keyring_test.go
kvs_endpoint.go
kvs_endpoint_test.go
local.go agent: add option to discard health output (#3562) 2017-10-10 17:04:52 -07:00
local_test.go agent: add option to discard health output (#3562) 2017-10-10 17:04:52 -07:00
notify.go
notify_test.go
operator_endpoint.go
operator_endpoint_test.go
prepared_query_endpoint.go
prepared_query_endpoint_test.go
remote_exec.go
remote_exec_test.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
retry_join.go
retry_join_test.go
session_endpoint.go
session_endpoint_test.go
snapshot_endpoint.go
snapshot_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
testagent.go
testagent_test.go
translate_addr.go
txn_endpoint.go
txn_endpoint_test.go
ui_endpoint.go
ui_endpoint_test.go
user_event.go
user_event_test.go
util.go
util_other.go Kill check processes after the timeout is reached (#3567) 2017-10-11 11:57:39 -07:00
util_test.go
util_windows.go Kill check processes after the timeout is reached (#3567) 2017-10-11 11:57:39 -07:00
watch_handler.go
watch_handler_test.go