Frank Schroeder 8ad66f4bea
agent: support custom check id and name
This patch adds support for a custom check id and name when
registering a service.

This is achieved by adding a CheckID and a Name field to the
CheckType structure which is used to register checks with a
service and when returning health check definitions.

CheckDefinition is a superset of CheckType which duplicates
some of the fields of CheckType. This patch decouples these
two structures by removing the embedding of CheckType in
CheckDefinition.

Fixes #3047
2017-05-17 20:17:08 +02:00
..
2013-12-20 16:39:32 -08:00
2017-05-10 23:06:36 +02:00
2017-04-20 09:54:49 -07:00
2013-12-23 16:20:51 -08:00
2017-04-20 09:54:49 -07:00