pmcf 1.61.4 → 1.61.6

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 +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.61.4",
3
+ "version": "1.61.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/cluster.mjs CHANGED
@@ -80,8 +80,8 @@ export class Cluster extends Host {
80
80
  cfg.push(" virtual_ipaddress {");
81
81
  cfg.push(` ${cluster.rawAddress}`);
82
82
  cfg.push(" }");
83
- cfg.push(` virtual_router_id ${this.routerId}`);
84
- cfg.push(` priority ${this.priority}`);
83
+ cfg.push(` virtual_router_id ${cluster.routerId}`);
84
+ cfg.push(` priority ${host.priority}`);
85
85
  cfg.push(" advert_int 5");
86
86
  cfg.push(" authentication {");
87
87
  cfg.push(" auth_type PASS");
@@ -97,7 +97,7 @@ export class Cluster extends Host {
97
97
  cfg
98
98
  );
99
99
 
100
- result.pitputs = host.outputs,
100
+ result.outputs = host.outputs,
101
101
  result.properties.name = name;
102
102
  result.properties.dependencies = ["keepalived"];
103
103