(ctx context.Context, in *proto.UpdateJobRequest)
| 503 | } |
| 504 | |
| 505 | func (p *Server) UpdateJob(ctx context.Context, in *proto.UpdateJobRequest) (*proto.UpdateJobResponse, error) { |
| 506 | out, err := clientDoWithRetries(ctx, p.client, func(ctx context.Context, client proto.DRPCProvisionerDaemonClient) (*proto.UpdateJobResponse, error) { |
| 507 | return client.UpdateJob(ctx, in) |
| 508 | }) |
| 509 | if err != nil { |
| 510 | return nil, err |
| 511 | } |
| 512 | return out, nil |
| 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) { |
nothing calls this directly
no test coverage detected