(ctx context.Context, id string)
| 735 | } |
| 736 | |
| 737 | func (l *local) getContainer(ctx context.Context, id string) (*containers.Container, error) { |
| 738 | var container containers.Container |
| 739 | container, err := l.containers.Get(ctx, id) |
| 740 | if err != nil { |
| 741 | return nil, errgrpc.ToGRPC(err) |
| 742 | } |
| 743 | return &container, nil |
| 744 | } |
| 745 | |
| 746 | func (l *local) getTask(ctx context.Context, id string) (runtime.Task, error) { |
| 747 | container, err := l.getContainer(ctx, id) |
no test coverage detected