pmcf 3.11.1 → 3.11.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cluster.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "3.11.1",
3
+ "version": "3.11.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/cluster.mjs CHANGED
@@ -145,8 +145,8 @@ export class Cluster extends Host {
145
145
  cfg.push("}", "");
146
146
 
147
147
  for (const endpoint of serviceEndpoints(cluster, {
148
- services: { type: "http" },
149
- endpoints: e => e.networkInterface.kind !== "loopback"
148
+ services: 'type="http"',
149
+ endpoints: e => e.networkInterface && e.networkInterface.kind !== "loopback"
150
150
  })) {
151
151
  cfg.push(`virtual_server ${cluster.address} ${endpoint.port} {`);
152
152
  cfg.push(` delay_loop ${cluster.checkInterval}`);