From: Sage Weil Date: Mon, 17 Dec 2018 19:15:00 +0000 (-0600) Subject: msg/Connection: add warning/note on get_peer_global_id X-Git-Tag: v14.1.0~484^2~48 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=50f5e328d7012bb1033f816dc5939ad0698bf1e2;p=ceph-ci.git msg/Connection: add warning/note on get_peer_global_id This field isn't populated for loopback connections because the msgr doesn't have any insight into what global_id its user has. Signed-off-by: Sage Weil --- diff --git a/src/msg/Connection.h b/src/msg/Connection.h index fa516e81025..735c2b039f7 100644 --- a/src/msg/Connection.h +++ b/src/msg/Connection.h @@ -153,6 +153,7 @@ public: */ virtual void mark_disposable() = 0; + // WARNING / FIXME: this is not populated for loopback connections AuthCapsInfo& get_peer_caps_info() { return peer_caps_info; }