@nsshunt/stsrunnerframework 1.0.119 → 1.0.120
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.
|
@@ -2390,10 +2390,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2390
2390
|
__publicField(this, "GetWorkersSmall", async () => {
|
|
2391
2391
|
try {
|
|
2392
2392
|
await __privateGet(this, _SyncWorkerDataFromWorkers).call(this);
|
|
2393
|
-
const retVal =
|
|
2394
|
-
retVal.push(__privateGet(this, _id));
|
|
2393
|
+
const retVal = {};
|
|
2395
2394
|
for (const [, workerEx] of Object.entries(__privateGet(this, _workersEx))) {
|
|
2396
|
-
retVal.
|
|
2395
|
+
retVal[workerEx.id] = this.CreateWorkerCopySmall(workerEx);
|
|
2397
2396
|
}
|
|
2398
2397
|
return retVal;
|
|
2399
2398
|
} catch (error) {
|
|
@@ -3259,16 +3258,12 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
3259
3258
|
}
|
|
3260
3259
|
CreateWorkerCopySmall(workerEx) {
|
|
3261
3260
|
try {
|
|
3262
|
-
const workerCopy =
|
|
3263
|
-
|
|
3264
|
-
|
|
3261
|
+
const workerCopy = {
|
|
3262
|
+
id: workerEx.id,
|
|
3263
|
+
runners: {}
|
|
3264
|
+
};
|
|
3265
3265
|
for (const [, runnerEx] of Object.entries(workerEx.runnersEx)) {
|
|
3266
|
-
|
|
3267
|
-
runnerCopy.push(runnerEx.id);
|
|
3268
|
-
runnerCopy.push(runnerEx.iteration);
|
|
3269
|
-
runnerCopy.push(runnerEx.state);
|
|
3270
|
-
runnerCopy.push(runnerEx.options.plan);
|
|
3271
|
-
workerCopy.push(runnerCopy);
|
|
3266
|
+
workerCopy.runners[runnerEx.id] = this.CreateRunnerCopySmall(runnerEx);
|
|
3272
3267
|
}
|
|
3273
3268
|
return workerCopy;
|
|
3274
3269
|
} catch (error) {
|