Skip to content

Commit

Permalink
up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Mar 18, 2020
1 parent 1700a45 commit b73bc25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TickProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ protected function onShutDown()
/** @var Config $config */
$config = $this->getConfig()->getArg()['config'];
$serviceList = $this->getConfig()->getArg()['serviceList'];
/** @var ServiceNode $service */
/** @var AbstractService $service */
foreach ($serviceList as $service) {
//遍历本节点的服务列表
try {
$node = new ServiceNode();
$node->setServiceVersion($service->getServiceVersion());
$node->setServiceName($service->getServiceName());
$node->setServiceVersion($service->version());
$node->setServiceName($service->serviceName());
$node->setNodeId($config->getNodeId());
$config->getNodeManager()->deleteServiceNode($node);
} catch (\Throwable $throwable) {
Expand Down

0 comments on commit b73bc25

Please sign in to comment.