| 1354 | } |
| 1355 | |
| 1356 | void MasterImpl::ReloadConfig(CmdCtrlResponse *response) { |
| 1357 | if (utils::LoadFlagFile(FLAGS_flagfile)) { |
| 1358 | LOG(INFO) << "[reload config] done"; |
| 1359 | response->set_status(kMasterOk); |
| 1360 | } else { |
| 1361 | LOG(ERROR) << "[reload config] config file not found"; |
| 1362 | response->set_status(kInvalidArgument); |
| 1363 | } |
| 1364 | } |
| 1365 | |
| 1366 | void MasterImpl::TableCmdCtrl(const CmdCtrlRequest *request, CmdCtrlResponse *response) { |
| 1367 | if (request->arg_list_size() < 2) { |
nothing calls this directly
no test coverage detected