mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-06 13:42:10 +08:00
fix: remove parent task info from task context (#24285)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -688,6 +688,9 @@ func (task *STask) GetRequestContext() appctx.AppContextData {
|
||||
ctxJson.Unmarshal(&ctxData)
|
||||
}
|
||||
}
|
||||
// clear parentTaskId
|
||||
ctxData.TaskId = ""
|
||||
ctxData.TaskNotifyUrl = ""
|
||||
return ctxData
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user