wilfred-s commented on code in PR #465:
URL: https://github.com/apache/yunikorn-core/pull/465#discussion_r1041727306


##########
pkg/webservice/handlers.go:
##########
@@ -746,6 +750,25 @@ func getUsersResourceUsage(w http.ResponseWriter, r 
*http.Request) {
        }
 }
 
+func getUserResourceUsage(w http.ResponseWriter, r *http.Request) {
+       userManager := ugm.GetUserManager()

Review Comment:
   We do not request this until after we have confirmed that we have the 
required parameters  and then just use 
`ugm.GetUserManager().GetUserTracker(user)` no need to store locally



-- 
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]

Reply via email to