Wilfred Spiegelenburg created YUNIKORN-2237:
-----------------------------------------------

             Summary: Cleanup AggregateTrackedResource function
                 Key: YUNIKORN-2237
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2237
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: core - common
            Reporter: Wilfred Spiegelenburg


The AggregateTrackedResource is written as if it was java and not using the go 
language features.

In the range for resources we should simply use:
{code:java}
aggregatedResourceTime[key] += int64(element) * timeDiff {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to