Skip to content

Commit

Permalink
reslove scheduler obtain seeds cancal result in CDN task download can…
Browse files Browse the repository at this point in the history
…cel (#890)

Signed-off-by: sunwp <[email protected]>
  • Loading branch information
244372610 authored Dec 7, 2021
1 parent 809353e commit 29924ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdn/supervisor/task/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (tm *Manager) triggerCdnSyncAction(ctx context.Context, task *types.SeedTas
}
// triggerCDN goroutine
go func() {
updateTaskInfo, err := tm.cdnMgr.TriggerCDN(ctx, task)
updateTaskInfo, err := tm.cdnMgr.TriggerCDN(context.Background(), task)
if err != nil {
task.Log().Errorf("trigger cdn get error: %v", err)
}
Expand Down

0 comments on commit 29924ee

Please sign in to comment.