chenyulin0719 commented on code in PR #1129:
URL: https://github.com/apache/yunikorn-core/pull/1129#discussion_r3797252004


##########
pkg/scheduler/partition.go:
##########
@@ -1350,7 +1350,7 @@ func (pc *PartitionContext) UpdateAllocation(alloc 
*objects.Allocation) (request
        return false, false, nil
 }
 
-func (pc *PartitionContext) handleForeignAllocation(allocationKey, 
applicationID, nodeID string, node *objects.Node, alloc *objects.Allocation) 
(requestCreated bool, allocCreated bool, err error) {

Review Comment:
   > Does not look like values are inherited from UpdateAllocation.
   
   Acutually, you're right. I was assuming someone who read 
`handleForeignAllocation` without referencing `UpdateAllocation`.  But that is 
overthinking. I'm too picky.
   
   I'm good with this PR. :)



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