Files
nomad/command
Seth Hoenig 685caee3df consul: prevent re-registration churn by correctly comparing sidecar tags
Previously, connect sidecars would be re-registered with consul every cycle
of Nomad's reconciliation loop around Consul service registrations. This is
because part of the comparison used `reflect.DeepEqual` on []string objects,
which returns false when one object is `[]string{}` and the other is `[]string{}(nil)`.

Unforunately, this was always the case, and every Connect sidecar service
would be re-registered on every iteration, which happens every 30 seconds.
2020-11-11 18:01:17 -06:00
..
2018-05-11 18:05:43 -04:00
2020-11-11 20:52:57 +00:00
2017-07-20 21:24:21 -07:00
2020-10-21 14:05:46 -04:00
2020-10-21 14:05:46 -04:00
2020-10-21 14:05:46 -04:00
2019-09-09 10:04:41 -07:00
2019-05-13 10:01:19 -04:00
2020-01-02 14:42:27 -08:00
2018-06-14 15:48:01 +02:00
2020-02-16 16:04:59 -06:00
2020-02-16 16:04:59 -06:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2018-05-11 18:05:43 -04:00
2020-10-19 09:30:15 -04:00
2020-07-23 18:41:38 +03:00
2017-07-20 21:24:21 -07:00