Skip to content

Commit 1c379cc

Browse files
jeclrsgGordonSmith
authored andcommitted
fix(comms): scopeProperty measure "node" should be int
in Workunit.normalizeDetails(), the raw value of scope properties of measure "node" should be integers rather than strings Signed-off-by: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com>
1 parent c93b72a commit 1c379cc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/comms/src/ecl/workunit.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,9 +714,11 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
714714
case "cost":
715715
props[scopeProperty.Name] = +scopeProperty.RawValue / 1000000;
716716
break;
717+
case "node":
718+
props[scopeProperty.Name] = +scopeProperty.RawValue;
719+
break;
717720
case "cpu":
718721
case "skw":
719-
case "node":
720722
case "ppm":
721723
case "ip":
722724
case "cy":

0 commit comments

Comments
 (0)