pbacsko commented on code in PR #501:
URL: https://github.com/apache/yunikorn-k8shim/pull/501#discussion_r1047495223
##########
pkg/common/utils/utils.go:
##########
@@ -428,3 +436,13 @@ func UpdatePodLabelForAdmissionController(pod *v1.Pod,
namespace string) map[str
return result
}
+
+func UpdatePodAnnotationForAdmissionController(pod *v1.Pod, key string, value
string) map[string]string {
Review Comment:
If this code is only used by the A.C., then "pkg/admission" is a better
place for this function.
--
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]