Add test -short for non-integration tests
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
2
task.go
2
task.go
@@ -215,7 +215,7 @@ func (t *Task) Wait(ctx context.Context) (uint32, error) {
|
||||
func (t *Task) Delete(ctx context.Context) (uint32, error) {
|
||||
cerr := t.io.Close()
|
||||
r, err := t.client.tasks().Delete(ctx, &execution.DeleteRequest{
|
||||
t.containerID,
|
||||
ContainerID: t.containerID,
|
||||
})
|
||||
if err != nil {
|
||||
return 255, err
|
||||
|
Reference in New Issue
Block a user