Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+1
-4
@@ -46,7 +46,6 @@ class RpcManager extends Component
|
|||||||
/**
|
/**
|
||||||
* @param string $serviceName
|
* @param string $serviceName
|
||||||
* @return void
|
* @return void
|
||||||
* @throws Kiri\Exception\ConfigException
|
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function reRegister(string $serviceName)
|
public function reRegister(string $serviceName)
|
||||||
@@ -61,9 +60,7 @@ class RpcManager extends Component
|
|||||||
if ($info->getStatusCode() == 200) {
|
if ($info->getStatusCode() == 200) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$data = $service->service->register($config['config']);
|
$service->service->register($config['config']);
|
||||||
|
|
||||||
$this->logger()->info($data->getBody());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user