Peter Bacsko created YUNIKORN-2777:
--------------------------------------

             Summary: 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


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 that already exist 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]

Reply via email to