Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2777

Improve TrackedResource type

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              pbacsko Peter Bacsko
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: