[
https://issues.apache.org/jira/browse/YUNIKORN-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko resolved YUNIKORN-2777.
------------------------------------
Fix Version/s: 1.6.0
Resolution: Fixed
> Improve TrackedResource type
> ----------------------------
>
> Key: YUNIKORN-2777
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2777
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> Currently, TrackedResource is defined as:
> {noformat}
> type TrackedResource struct {
> TrackedResourceMap map[string]map[string]int64
> locking.RWMutex
> }
> {noformat}
> As it turned out during the review of
> [YUNIKORN-2652|https://github.com/apache/yunikorn-core/pull/897],
> {{TrackedResourceMap}} is actually {{map[string]*Resource}}. If we change the
> definition, we'll be able to use the existing functions for {{Resource}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]