We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5061b31 commit edb0321Copy full SHA for edb0321
1 file changed
src/nvmeof/NVMeofGwMonitorClient.cc
@@ -151,13 +151,12 @@ int NVMeofGwMonitorClient::init()
151
152
// We must register our config callback before calling init(), so
153
// that we see the initial configuration message
154
- monc.register_config_callback([this](const std::string &k, const std::string &v){
+ monc.register_config_callback([](const std::string &k, const std::string &v){
155
// leaving this for debugging purposes
156
dout(10) << "nvmeof config_callback: " << k << " : " << v << dendl;
157
-
158
return false;
159
});
160
- monc.register_config_notify_callback([this]() {
+ monc.register_config_notify_callback([]() {
161
dout(4) << "nvmeof monc config notify callback" << dendl;
162
163
dout(4) << "nvmeof Registered monc callback" << dendl;
0 commit comments