zhuqi-lucas commented on code in PR #474:
URL: https://github.com/apache/yunikorn-k8shim/pull/474#discussion_r1027117829


##########
pkg/common/utils/utils.go:
##########
@@ -257,3 +259,109 @@ func GetUserFromPod(pod *v1.Pod) string {
 
        return value
 }
+
+func GetPodAnnotationValue(pod *v1.Pod, annotationKey string) string {
+       if value, ok := pod.Annotations[annotationKey]; ok {
+               return value
+       }
+       return ""

Review Comment:
   Hi @pbacsko , revert the "" to none change, it will affect many unit tests, 
and will affect the PB value originally will be "".



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