(ctx context.Context, in *proto.FailedJob)
| 513 | } |
| 514 | |
| 515 | func (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. |
| 523 | func (p *Server) UploadModuleFiles(ctx context.Context, moduleFiles []byte) error { |
no test coverage detected