pmcf 6.26.1 → 6.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.26.1",
3
+ "version": "6.26.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/cluster.mjs CHANGED
@@ -150,11 +150,9 @@ export class Cluster extends Host {
150
150
  cfg.push(` protocol ${endpoint.protocol.toUpperCase()}`);
151
151
 
152
152
  for (const member of this.members) {
153
- const memberService = Array.from(
154
- member.expression(`services[types[${endpoint.type}]][0]`)
155
- );
153
+ const memberService = member.expression(`services[types[${endpoint.type}]][0]`);
156
154
 
157
- console.log(member.fullName, endpoint.type, memberService);
155
+ console.log(member.fullName, endpoint.type, memberService?.fullName);
158
156
  cfg.push(` real_server ${member.address} ${memberService.port} {`);
159
157
  cfg.push(` weight ${memberService.weight}`);
160
158
 
@@ -73,6 +73,7 @@ export class SystemdJournalRemoteService extends CoreService {
73
73
  };
74
74
  static service = {
75
75
  systemdService: "systemd-journal-remote.service",
76
+ //extends: ["http"],
76
77
  endpoints: [
77
78
  {
78
79
  family: FAMILY_IPV4,