craigcondit commented on code in PR #404:
URL: https://github.com/apache/yunikorn-k8shim/pull/404#discussion_r842920012


##########
pkg/cache/node.go:
##########
@@ -112,13 +112,24 @@ func (n *SchedulerNode) addExistingAllocation(allocation 
*si.Allocation) {
        n.existingAllocations = append(n.existingAllocations, allocation)
 }
 
-func (n *SchedulerNode) setOccupiedResource(resource *si.Resource) {
+func (n *SchedulerNode) updateOccupiedResource(resource *si.Resource, opt 
updateType) {

Review Comment:
   This is similar to the logic in nodes.go, however it doesn't send any 
notifications.



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