From 5be671d57d12d9b38ba61e29048440f9443fcffe Mon Sep 17 00:00:00 2001 From: d4x1 <1507509064@qq.com> Date: Thu, 5 Sep 2024 20:31:46 +0800 Subject: [PATCH] fix(lint): fix lint errors --- backend/core/runner/run_task.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/core/runner/run_task.go b/backend/core/runner/run_task.go index 61f2d5eae2f..35b83889bd6 100644 --- a/backend/core/runner/run_task.go +++ b/backend/core/runner/run_task.go @@ -149,7 +149,6 @@ func RunTask( } func RunPluginTask(ctx gocontext.Context, basicRes context.BasicRes, task *models.Task, progress chan plugin.RunningProgress, syncPolicy *models.SyncPolicy) errors.Error { - pluginMeta, err := plugin.GetPlugin(task.Plugin) if err != nil { return errors.Default.WrapRaw(err) @@ -230,7 +229,6 @@ func RunPluginSubTasksParallel( progress chan plugin.RunningProgress, syncPolicy *models.SyncPolicy, ) errors.Error { - taskID := task.ID subTaskFlag, err := getSubtaskFlagMap(pluginTask, syncPolicy, task.Subtasks) if err != nil {