Merge pull request #615 from erikwilson/master

Use watch-cache for kvsql
pull/620/head v0.7.0-rc4
Erik Wilson 2019-07-07 14:46:08 -07:00 committed by GitHub
commit 185a8dca13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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)