Wei Fu a9988e2625 server/embed: fix data race when start insecure grpc
There are two goroutines accessing the `gs` grpc server var. Before
insecure `gs` server start, the `gs` can be changed to secure server and
then the client will fail to connect to etcd with insecure request. It
is data-race. We should use argument for reference in the new goroutine.

fix: #15495

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-03-18 21:48:58 +08:00
..
2022-03-24 16:20:28 +08:00
2018-04-09 10:37:28 -07:00
2023-01-30 16:16:53 +02:00
2023-03-15 14:47:49 +01:00
2023-03-14 16:35:43 +01:00