Fixes clang-format errors.
This commit is contained in:
parent
4d5e5777f8
commit
d6cc8b0784
|
|
@ -148,9 +148,8 @@ const std::string strip_and_resolve_addresses(std::string const& address) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool authenticate(std::shared_ptr<grpc::Channel> const& channel,
|
bool authenticate(std::shared_ptr<grpc::Channel> const& channel,
|
||||||
std::string const& username,
|
std::string const& username, std::string const& password,
|
||||||
std::string const& password,
|
std::string& token_or_message) {
|
||||||
std::string& token_or_message) {
|
|
||||||
// run a round of auth
|
// run a round of auth
|
||||||
auto auth_stub = etcdserverpb::Auth::NewStub(channel);
|
auto auth_stub = etcdserverpb::Auth::NewStub(channel);
|
||||||
ClientContext context;
|
ClientContext context;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue