From 7aa851420c9c1e0950c4e4ba040102ddd18e02f3 Mon Sep 17 00:00:00 2001 From: Tao He Date: Sun, 7 Feb 2021 09:32:07 +0800 Subject: [PATCH] Fixes README.md. Signed-off-by: Tao He --- .gitignore | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2223cfc..859722c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ build/ compile_commands.json proto/**/*.pb.cc proto/**/*.pb.h +default.etcd/ diff --git a/README.md b/README.md index 26fa766..0d7c0e2 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ arguments when launching etcd server). Or the etcd client can be constructed explictly: ```c++ - etcd::Client *etcd = etcd::Client::WithUser( + etcd::Client *etcd = etcd::Client::WithSSL( "https://127.0.0.1:2379", "example.rootca.cert", "example.cert", "example.key"); ``` @@ -224,7 +224,7 @@ Or the etcd client can be constructed explictly: Using secure transport but not certificated-based client authentication: ```c++ - etcd::Client *etcd = etcd::Client::WithUser( + etcd::Client *etcd = etcd::Client::WithSSL( "https://127.0.0.1:2379", "example.rootca.cert"); ```