Skip to content

Commit

Permalink
fix wrong Pipeline in action allocate (#1360)
Browse files Browse the repository at this point in the history
Signed-off-by: Tizen Ye <yzs981130@126.com>

Co-authored-by: Klaus Ma <klaus1982.cn@hotmail.com>
Co-authored-by: WuLei <13164644535@163.com>
  • Loading branch information
3 people committed Apr 13, 2021
1 parent 8fddd92 commit 3e330e1
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 3e330e1

Please sign in to comment.