consul/agent/local
Chris Piraino 59f1462801
Fix segfault when removing both a service and associated check (#7108)
* Fix segfault when removing both a service and associated check

updateSyncState creates entries in the services and checks maps for
remote services/checks that are not found locally, so that we can then
make sure to delete them in our reconciliation process. However, the
values added to the map are missing key fields that the rest of the code
expects to not be nil.

* Add comment stating Check field can be nil
2020-01-23 10:38:32 -06:00
..
state.go Fix segfault when removing both a service and associated check (#7108) 2020-01-23 10:38:32 -06:00
state_test.go Fix segfault when removing both a service and associated check (#7108) 2020-01-23 10:38:32 -06:00
testing.go connect: remove managed proxies (#6220) 2019-08-09 15:19:30 -04:00