pbacsko commented on code in PR #1103:
URL: https://github.com/apache/yunikorn-core/pull/1103#discussion_r3557535978


##########
pkg/scheduler/objects/preemption.go:
##########
@@ -133,10 +133,11 @@ func (p *Preemptor) initQueueSnapshots() {
 }
 
 // initWorkingState builds helper data structures required to compute a 
solution
-func (p *Preemptor) initWorkingState() {
+// returns the number of reservations released while preparing the data 
structures
+func (p *Preemptor) initWorkingState() int {

Review Comment:
   Am I missing something? I can't see the related change where this int value 
is consumed.



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