grpcproxy, etcdmain, integration: add close channel to kv proxy

ccache launches goroutines that need to be explicitly stopped.

Fixes #7158
This commit is contained in:
Anthony Romano
2017-01-13 16:20:09 -08:00
committed by Gyu-Ho Lee
parent 6c8f1986c8
commit c2e8d06eec
5 changed files with 30 additions and 14 deletions

View File

@ -103,7 +103,7 @@ func startGRPCProxy(cmd *cobra.Command, args []string) {
os.Exit(1)
}
kvp := grpcproxy.NewKvProxy(client)
kvp, _ := grpcproxy.NewKvProxy(client)
watchp, _ := grpcproxy.NewWatchProxy(client)
clusterp := grpcproxy.NewClusterProxy(client)
leasep := grpcproxy.NewLeaseProxy(client)