This commit is contained in:
2021-12-02 14:25:50 +08:00
parent f374fad591
commit a8d3d1472f
+2 -2
View File
@@ -52,8 +52,7 @@ use ReflectionException;
return [ return [
"ID" => "rpc.json.{$this->service}." . $this->uniqueId, "ID" => "rpc.json.{$this->service}." . $this->uniqueId,
"Name" => $this->service, "Name" => $this->service,
"Address" => Network::local(), "EnableTagOverride" => false,
"EnableTagOverride" => true,
"TaggedAddresses" => [ "TaggedAddresses" => [
"lan" => [ "lan" => [
"address" => "127.0.0.1", "address" => "127.0.0.1",
@@ -65,6 +64,7 @@ use ReflectionException;
] ]
], ],
"Meta" => $this->meta, "Meta" => $this->meta,
"Address" => Network::local(),
"Port" => $rpcPort, "Port" => $rpcPort,
"Check" => [ "Check" => [
"CheckId" => "service:rpc.json.{$this->service}." . $this->uniqueId, "CheckId" => "service:rpc.json.{$this->service}." . $this->uniqueId,