From 5258809b3659308d7f291836a072464249a15ee0 Mon Sep 17 00:00:00 2001 From: Tao He Date: Tue, 12 Jan 2021 11:31:34 +0800 Subject: [PATCH] Remove debug logs. Signed-off-by: Tao He --- src/Client.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Client.cpp b/src/Client.cpp index a98841d..70fcd52 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -560,13 +560,11 @@ pplx::task etcd::Client::lock(std::string const &key, } pplx::task etcd::Client::unlock(std::string const &lock_key) { - std::cout << "begin unlock" << std::endl; // cancel the KeepAlive first, it exists { std::lock_guard lexical_scope_lock(mutex_for_keepalives); auto p_leases = this->leases_for_locks.find(lock_key); if (p_leases != this->leases_for_locks.end()) { - std::cout << "Unlock for " << lock_key << " and revoke lease " << std::hex << p_leases->second << std::dec << std::endl; auto p_keeps_alive = this->keep_alive_for_locks.find(p_leases->second); if (p_keeps_alive != this->keep_alive_for_locks.end()) { this->keep_alive_for_locks.erase(p_keeps_alive);