Paul Banks bb7145f27d
agent: add default weights to service in local state to prevent AE churn (#5126)
* Add default weights when adding a service with no weights to local state to prevent constant AE re-sync.

This fix was contributed by @42wim in https://github.com/hashicorp/consul/pull/5096 but was merged against the wrong base. This adds it to master and adds a test to cover the behaviour.

* Fix tests that broke due to comparing internal state which now has default weights
2019-01-08 10:13:49 +00:00
..
2019-01-07 12:48:44 -05:00
2018-11-02 12:00:39 -05:00
2018-10-19 12:04:07 -04:00
2018-03-27 10:59:42 -05:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-11-14 22:37:47 +00:00
2018-10-19 12:04:07 -04:00
2018-10-19 08:41:03 -07:00
2018-02-12 10:15:31 -08:00
2018-02-12 10:15:31 -08:00
2018-09-05 13:38:13 -07:00
2018-02-12 10:15:31 -08:00
2018-02-12 10:15:31 -08:00
2018-02-12 10:15:31 -08:00
2018-10-19 12:04:07 -04:00
2018-03-19 16:56:00 +00:00