MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / updateTask

Method updateTask

agent/app/task/task.go:281–283  ·  view source on GitHub ↗
(task *model.Task)

Source from the content-addressed store, hash-verified

279}
280
281func (t *Task) updateTask(task *model.Task) {
282 _ = t.taskRepo.Update(context.Background(), task)
283}
284
285func (t *Task) Execute() error {
286 if err := t.taskRepo.Save(context.Background(), t.Task); err != nil {

Callers 2

ReNewTaskFunction · 0.95
ExecuteMethod · 0.95

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected