Commit ece86020 authored by 黄刚's avatar 黄刚

CreateTask接口最后一个参数改为map

parent e9f5e5de
Pipeline #3838 failed with stages
# trace组件工作流程
# trace组件工作流程
......@@ -50,7 +50,7 @@ type ReplyTraceList struct {
TraceList []*TraceInfo
}
//创建任务
func CreateTask(ctx context.Context,taskId string, ty TaskType, taskName string, nodeList []string, ctx ...interface{}) error
func CreateTask(ctx context.Context,taskId string, ty TaskType, taskName string, nodeList []string, condition map[string]string) error
//开始任务
func StartTask(ctx context.Context,taskId string) error
//停止任务
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment