Skip to content

Commit

Permalink
Merge pull request hashicorp#113 from smithamax/patch-1
Browse files Browse the repository at this point in the history
Fix custom check.id and check.name not working
  • Loading branch information
bensojona authored Oct 18, 2016
2 parents cb16460 + e3caf95 commit b2e362b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions packer/config/consul/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"service": {
"name": "web",
"port": 8888,
"tags": ["nodejs", "{{ deploy }}"],
"check": {
"id": "nodejs",
"name": "Running on port 8888",
"http": "http://localhost:8888",
"interval": "10s",
"timeout": "1s"
}
"tags": ["nodejs", "{{ deploy }}"]
},
"check": {
"id": "nodejs",
"service_id": "web",
"name": "Running on port 8888",
"http": "http://localhost:8888",
"interval": "10s",
"timeout": "1s"
}
}

0 comments on commit b2e362b

Please sign in to comment.