rrajesh-cloudera commented on code in PR #915:
URL: https://github.com/apache/yunikorn-k8shim/pull/915#discussion_r1804175886


##########
test/e2e/user_group_limit/user_group_limit_test.go:
##########
@@ -920,6 +1118,19 @@ var _ = ginkgo.Describe("UserGroupLimit", func() {
        })
 })
 
+func GetUserInfoFromPodAnnotation(pod *v1.Pod) (interface{}, error) {
+       userInfo, ok := pod.Annotations[amCommon.UserInfoAnnotation]
+       if !ok {
+               return nil, fmt.Errorf("user info not found in pod annotation")
+       }
+       var userInfoObj interface{}

Review Comment:
   Updated the code with requested changes.



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