R.B. Boyer fa4577d1a9
local: fixes a data race in anti-entropy sync (#12324)
The race detector noticed this initially in `TestAgentConfigWatcherSidecarProxy` but it is not restricted to just tests.

The two main changes here were:

- ensure that before we mutate the internal `agent/local` representation of a Service (for tags or VIPs) we clone those fields
- ensure that there's no function argument joint ownership between the caller of a function and the local state when calling `AddService`, `AddCheck`, and related using `copystructure` for now.
2022-02-14 10:41:33 -06:00
..
2022-01-20 10:46:23 -06:00
2021-11-16 12:04:01 -06:00
2022-01-20 10:46:23 -06:00
2022-02-03 18:44:09 -05:00
2022-01-20 10:46:23 -06:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2022-01-20 10:46:23 -06:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00