wilfred-s commented on a change in pull request #173:
URL:
https://github.com/apache/incubator-yunikorn-core/pull/173#discussion_r444907294
##########
File path: pkg/scheduler/scheduling_application.go
##########
@@ -408,6 +408,19 @@ func (sa *SchedulingApplication) sortRequests(ascending
bool) {
}
}
+// update container scheduling state to shim if the plugin is registered
+func (sa *SchedulingApplication) updateContainerSchedulingStateIfNeeded(ask
*schedulingAllocationAsk,
Review comment:
The `IfNeeded` is not correct. There is no state or other check here we
call always if the plugin is configured.
Should be `updateContainerSchedulingState`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]