]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/mon: remove "#warning" in v1 implementation
authorKefu Chai <kchai@redhat.com>
Thu, 11 Apr 2019 13:47:29 +0000 (21:47 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 16 Apr 2019 23:13:46 +0000 (07:13 +0800)
since we've implemented the v2 support, these reminders are not needed
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/mon/MonClient.cc

index a5fcfcd09f6b4d9fcf363ad74da68d1419afc866..c9e590a3a339497ad5119879ab29b0cef17ec53a 100644 (file)
@@ -208,7 +208,6 @@ seastar::future<bool> Connection::do_auth()
     reply = {};
     auto p = m->result_bl.cbegin();
     auto ret = auth->handle_response(m->result, p,
-#warning fix crimson: session_key, connection_secret
                                     nullptr, nullptr);
     if (ret != 0 && ret != -EAGAIN) {
       throw std::system_error(make_error_code(
@@ -239,7 +238,6 @@ Connection::authenticate_v1(epoch_t epoch,
     global_id = m->global_id;
     switch (auto p = m->result_bl.cbegin();
             auth->handle_response(m->result, p,
-#warning fix crimson: session_key, connection_secret
                                  nullptr, nullptr)) {
     case 0:
       // none