agent: fix test case examples

This commit is contained in:
Ryan Uber 2015-02-05 23:29:04 -08:00
parent 45097f9f3d
commit 84f8c70a79
1 changed files with 4 additions and 4 deletions

View File

@ -686,9 +686,9 @@ func TestDecodeConfig_Services(t *testing.T) {
{ {
"id": "es0", "id": "es0",
"name": "elasticsearch", "name": "elasticsearch",
port: "9200", "port": 9200,
"check": { "check": {
"HTTP": "http://localhost:9200/_cluster/health", "HTTP": "http://localhost:9200/_cluster_health",
"interval": "10s", "interval": "10s",
"timeout": "100ms" "timeout": "100ms"
} }
@ -783,9 +783,9 @@ func TestDecodeConfig_Checks(t *testing.T) {
{ {
"id": "chk4", "id": "chk4",
"name": "service:elasticsearch:health", "name": "service:elasticsearch:health",
"HTTP": "http://localhost:9200/_cluster/health", "HTTP": "http://localhost:9200/_cluster_health",
"interval": "10s", "interval": "10s",
"timeout": "100ms" "timeout": "100ms",
"service_id": "elasticsearch" "service_id": "elasticsearch"
} }
] ]