MCPcopy Index your code
hub / github.com/coder/coder / FailJob

Method FailJob

provisionerd/provisionerd.go:515–520  ·  view source on GitHub ↗
(ctx context.Context, in *proto.FailedJob)

Source from the content-addressed store, hash-verified

513}
514
515func (p *Server) FailJob(ctx context.Context, in *proto.FailedJob) error {
516 _, err := clientDoWithRetries(ctx, p.client, func(ctx context.Context, client proto.DRPCProvisionerDaemonClient) (*proto.Empty, error) {
517 return client.FailJob(ctx, in)
518 })
519 return err
520}
521
522// UploadModuleFiles will insert a file into the database of coderd.
523func (p *Server) UploadModuleFiles(ctx context.Context, moduleFiles []byte) error {

Callers 1

acquireAndRunOneMethod · 0.95

Calls 2

clientDoWithRetriesFunction · 0.85
FailJobMethod · 0.65

Tested by

no test coverage detected