Skip to content

Commit

Permalink
fix wrong Pipeline in action allocate
Browse files Browse the repository at this point in the history
Signed-off-by: Tizen Ye <yzs981130@126.com>
  • Loading branch information
yzs981130 committed Mar 15, 2021
1 parent b09b8af commit f84cdff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/actions/allocate/allocate.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (alloc *Action) Execute(ssn *framework.Session) {
if task.InitResreq.LessEqual(node.FutureIdle()) {
klog.V(3).Infof("Pipelining Task <%v/%v> to node <%v> for <%v> on <%v>",
task.Namespace, task.Name, node.Name, task.InitResreq, node.Releasing)
if err := ssn.Pipeline(task, node.Name); err != nil {
if err := stmt.Pipeline(task, node.Name); err != nil {
klog.Errorf("Failed to pipeline Task %v on %v in Session %v for %v.",
task.UID, node.Name, ssn.UID, err)
} else {
Expand Down

0 comments on commit f84cdff

Please sign in to comment.