[ 
https://issues.apache.org/jira/browse/YUNIKORN-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Bacsko resolved YUNIKORN-2237.
------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

Merged to master.

> 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
>            Assignee: JiaChi Wang
>            Priority: Minor
>              Labels: newbie, pull-request-available
>             Fix For: 1.5.0
>
>
> 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: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org

Reply via email to