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"); ```