zhuqi-lucas commented on code in PR #465:
URL: https://github.com/apache/yunikorn-core/pull/465#discussion_r1040658595
##########
pkg/scheduler/ugm/manager.go:
##########
@@ -221,6 +221,15 @@ func (m *Manager) GetUsersResources() []*UserTracker {
return userTrackers
}
+func (m *Manager) GetUserResourcesByUserName(user string) *UserTracker {
Review Comment:
Hi @manirajv06 , we already have a function name this, so i name to
GetUserResourcesByUserName
```
func (m *Manager) GetGroupResources(group string) *resources.Resource {
m.lock.RLock()
defer m.lock.RUnlock()
if m.groupTrackers[group] != nil {
return m.groupTrackers[group].queueTracker.resourceUsage
}
return nil
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]