progrium/registrator — pull request #9 by mattupstate (2014-08-07 19:49:52+00:00)
Title: Add Consul service checks from metadata

I'd like to think this should suffice for adding Consul service checks. Script checks and TTL checks are exclusive, hence the first conditional. Not sure whats appropriate to do if there is a conflict in the metadata for a given container. Otherwise, I've decided that it might be appropriate to default to a 10 second interval for script checks if the interval is not specified by the metadata.