@cadenza.io/service 2.17.76 → 2.17.77

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.
@@ -1261,11 +1261,13 @@ var ServiceRegistry = class _ServiceRegistry {
1261
1261
  },
1262
1262
  "Tracks remote dependency instances for runtime heartbeat monitoring."
1263
1263
  ).doOn("meta.service_registry.dependee_registered");
1264
+ const normalizeServiceInstancesFromSync = (ctx) => this.normalizeServiceInstancesFromSync(ctx);
1264
1265
  CadenzaService.createMetaTask("Split service instances", function* (ctx) {
1265
- if (!ctx.serviceInstances) {
1266
+ const serviceInstances = normalizeServiceInstancesFromSync(ctx);
1267
+ if (serviceInstances.length === 0) {
1266
1268
  return;
1267
1269
  }
1268
- for (const serviceInstance of ctx.serviceInstances) {
1270
+ for (const serviceInstance of serviceInstances) {
1269
1271
  yield { serviceInstance };
1270
1272
  }
1271
1273
  }).doOn(