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

Method updateTask

core/app/task/task.go:179–181  ·  view source on GitHub ↗
(task *model.Task)

Source from the content-addressed store, hash-verified

177}
178
179func (t *Task) updateTask(task *model.Task) {
180 _ = t.taskRepo.Update(context.Background(), task)
181}
182
183func (t *Task) Execute() error {
184 if err := t.taskRepo.Save(context.Background(), t.Task); err != nil {

Callers 1

ExecuteMethod · 0.95

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected