Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-13 19:02:07 +08:00
parent 62e3b001f0
commit e8cf7f29f0
+1 -4
View File
@@ -46,7 +46,6 @@ class RpcManager extends Component
/**
* @param string $serviceName
* @return void
* @throws Kiri\Exception\ConfigException
* @throws Exception
*/
public function reRegister(string $serviceName)
@@ -61,9 +60,7 @@ class RpcManager extends Component
if ($info->getStatusCode() == 200) {
return;
}
$data = $service->service->register($config['config']);
$this->logger()->info($data->getBody());
$service->service->register($config['config']);
}