Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
Currently, TrackedResource is defined as:
type TrackedResource struct { TrackedResourceMap map[string]map[string]int64 locking.RWMutex }
As it turned out during the review of YUNIKORN-2652, TrackedResourceMap is actually map[string]*Resource. If we change the definition, we'll be able to use the existing functions for Resource.
Attachments
Issue Links
- causes
-
YUNIKORN-2925 Remove internal objects from application REST response
- Resolved
- is related to
-
YUNIKORN-2652 Expand getApplication() endpoint handler to return resource usage
- Resolved
- links to