From ad11ba583f4158fbf7799fdd3f187ae7fbd65873 Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Sun, 7 Jul 2019 14:43:43 -0700 Subject: [PATCH] Use watch-cache for kvsql --- pkg/daemons/control/server.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/daemons/control/server.go b/pkg/daemons/control/server.go index 997da6ceb3..64c2f347c8 100644 --- a/pkg/daemons/control/server.go +++ b/pkg/daemons/control/server.go @@ -150,9 +150,6 @@ func apiServer(ctx context.Context, cfg *config.Control, runtime *config.Control if len(cfg.StorageEndpoint) > 0 { argsMap["etcd-servers"] = cfg.StorageEndpoint } - if cfg.StorageBackend != "etcd3" { - argsMap["watch-cache"] = "false" - } certDir := filepath.Join(cfg.DataDir, "tls/temporary-certs") os.MkdirAll(certDir, 0700)