Files
nomad/command
Seth Hoenig faac908a81 consul: register checks along with service on initial registration (#14944)
* consul: register checks along with service on initial registration

This PR updates Nomad's Consul service client to include checks in
an initial service registration, so that the checks associated with
the service are registered "atomically" with the service. Before, we
would only register the checks after the service registration, which
causes problems where the service is deemed healthy, even if one or
more checks are unhealthy - especially problematic in the case where
SuccessBeforePassing is configured.

Fixes #3935

* cr: followup to fix cause of extra consul logging

* cr: fix another bug

* cr: fixup changelog
2022-10-19 12:40:56 -05:00
..
2022-10-06 17:00:29 -04:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2022-10-06 17:00:29 -04:00
2022-10-06 17:00:29 -04:00
2022-10-06 17:00:29 -04:00
2020-12-09 11:05:18 -08:00
2020-11-30 11:12:06 -05:00
2022-04-22 09:15:51 -05:00
2021-03-31 16:37:09 -04:00