File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,12 @@ int NVMeofGwMonitorClient::init()
151151
152152 // We must register our config callback before calling init(), so
153153 // that we see the initial configuration message
154- monc.register_config_callback ([this ](const std::string &k, const std::string &v){
154+ monc.register_config_callback ([](const std::string &k, const std::string &v){
155155 // leaving this for debugging purposes
156156 dout (10 ) << " nvmeof config_callback: " << k << " : " << v << dendl;
157-
158157 return false ;
159158 });
160- monc.register_config_notify_callback ([this ]() {
159+ monc.register_config_notify_callback ([]() {
161160 dout (4 ) << " nvmeof monc config notify callback" << dendl;
162161 });
163162 dout (4 ) << " nvmeof Registered monc callback" << dendl;
You can’t perform that action at this time.
0 commit comments