MCPcopy Create free account
hub / github.com/SignTools/SignTools / failJob

Function failJob

main.go:356–361  ·  view source on GitHub ↗
(c echo.Context, job *storage.ReturnJob)

Source from the content-addressed store, hash-verified

354}
355
356func failJob(c echo.Context, job *storage.ReturnJob) error {
357 if !storage.Jobs.DeleteById(job.Id) {
358 return errors.New("unable to delete return job " + job.Id)
359 }
360 return c.NoContent(200)
361}
362
363func setBuilderSecrets(builder builders.Builder) error {
364 return builder.SetSecrets(map[string]string{

Callers

nothing calls this directly

Calls 2

DeleteByIdMethod · 0.80
NewMethod · 0.80

Tested by

no test coverage detected