pmcf 3.13.2 → 3.13.4
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 +1 -1
- package/src/service.mjs +5 -1
package/package.json
CHANGED
package/src/service.mjs
CHANGED
|
@@ -281,7 +281,11 @@ export class Service extends Base {
|
|
|
281
281
|
if (parameters) {
|
|
282
282
|
for (const service of this.findServices()) {
|
|
283
283
|
if (service !== this) {
|
|
284
|
-
const
|
|
284
|
+
const serviceType = ServiceTypes[service.type];
|
|
285
|
+
/*if(!serviceType) {
|
|
286
|
+
throw new Error(`Unknown service '${service.type}'`);
|
|
287
|
+
}*/
|
|
288
|
+
const r = serviceType?.dnsRecord;
|
|
285
289
|
|
|
286
290
|
if (r?.type === dnsRecord.type) {
|
|
287
291
|
parameters = dnsMergeParameters(parameters, r.parameters);
|